I have a form with field (let's say uploadFile) of type "File/Attachments". A file is available as an attachment (let's say "test.xlsx") in some other Confluence Page.
I wish to set "uploadFile" field with value as "test.xlsx" file and then pass the "uploadFile" to JIRA during ticket creation. How to do this? I tried exploring lot of pages, but none works.
I do not want to reattach the "test.xlsx" file again and again in current page whenever JIRA is created but directly take from the pre-defined Confluence page.
Hi @AJ and welcome to this community
Is this a question about ConfiForms app and it's ability to create Jira issues and attach files? It sounds like it is, but just to be sure...
Alex
Yes this is for confiform app. If I use direct field to select and upload file, it is getting attached to JIRA. But I want to make the field set automatically with an attachment which is present on some other page so that the file is attached to JIRA automatically rather than user manually selecting the file. I just have the normal link to the file like this:
https://confluencelinkhere/download/attachments/2665233635/test.xlsx?api=v2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Will add the tags then to mark it as ConfiForms related...
To answer your question - short answer is "Yes, it's possible"
There is an attachment picker field that you can preset to some specific value (attachment id - you can find it from the attachment view) and this acts the same way as the "File/Attachments" field when sent to Jira
Just drop the ConfiForms Field pointing at this attachment picker into ConfiForms IFTTT macro that creates a Jira issue for you
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have defined a field called "uploadFile" of type "Attachments Picker". Now do I define IFFFT rule or Rules for Field Definition? Could you please help to share the step-by-step process how to set the uploadFile value using the following URL of attachment:
https://myconfluenceserver/download/attachments/2665233635/test.xlsx?api=v2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is a quick demo of what I was trying to tell
Of course, you can hide the picker field with "Hide Field" rule, so your users does not even know there is one
Alex
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.