Hi all,
I have read a number of posts similar to my query about "file attachment" but mine still does not work.
Basically I want to use confiform to create a jira ticket (this one work), and allow users to attach file in the ticket.
To make it a bit "challenging", a label will added in the ticket as per below :
IF there is an attachment
then produce label "Content"
IF there is no attachment
then add label "ContentNA"
-------------
I have added some screenshot to help understand my issue
Thank you
Hi Alex,
thanks for the reply.
Do you mean I need to remove the line from the "set" to "end"?
set($attachment1 = "[entry.fuDesc]") if($attachment1.isEmpty()) "labels": ["NewRequest", "ContentNA"], else "labels": ["NewRequest", "Content"], end
If so, after I removed it and tried to send a form with attachment it comes up with the below error
Requested to https://<my jira URL>com/rest/api/2/issue//attachments has resulted in an error. Response code = 404 (method ='POST'). Response contents: 404null for uri: https://<my jira URL>.com/rest/api/2/issue//attachments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry to say, but you are overcomplicating things
You don’t need an extra IFTTT… All you needed to do is to add the ConfiForms Field to the one that you already have for creating an issue itself.
(And removing that IFTTT that you have for specifically put for the attachments)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Alex Medved _ConfiForms_
and nothing to apologise for.
I think I understood what you referring to.,
I have removed the extra IFTTT (attachment IFTTT) and added the "confi field" to the default "ticket creation IFTTT" as per below.
It worked!
ps: this was created by someone else, and I thought I tried my luck to fix it and thanks to you I made the form usable again :)
THank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.