Hello Team/Alex Medved_Confiforms
This is post is to the team and especially to ALEX
I'm trying to upload an attachment to a JIRA DASHBOARD. I'm creating it from my Confluence Page (confiform), but the attachment isn't uploading in jira Dashboard. I could only see my Attachment name instead of Attachment. Please help me in resolving the same.
Please find the screenshots for your reference!
Hi
When you use "web service" request type IFTTT in ConfiForms to create Jira issues you need to set up an additional IFTTT to upload attachments, as to upload attachment to the issue you need to use another REST API endpoint from Jira
On this page we demonstrate how you can do that https://wiki.vertuna.com/display/TEST/Create+Jira+issue+with+webservice+connection+with+files+and+remote+links
And this IFTTT in particular is what is missing
<ac:structured-macro ac:macro-id="cd50e22c-2262-4c23-9a31-a24dbf92a90d" ac:name="confiform-ifttt" ac:schema-version="1">
<ac:parameter ac:name="action">WebService Request</ac:parameter>
<ac:parameter ac:name="extras">4bb4c41a51f289a07507d50a1b841a4d</ac:parameter>
<ac:parameter ac:name="event">onCreated</ac:parameter>
<ac:parameter ac:name="title">/rest/api/latest/issue/[entry.jk.asJSON.key]/attachments</ac:parameter>
<ac:parameter ac:name="additionalContext">file</ac:parameter>
<ac:parameter ac:name="extras2">X-Atlassian-Token: no-check;</ac:parameter>
<ac:parameter ac:name="who">POST</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="1271c70c-7c2b-4ed2-b009-d2e731ec4a8b" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">Attachments</ac:parameter>
</ac:structured-macro>
</p>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
Alex
Hello Alex,
First of all Thank you so much for the response!
Based on you comments I had already Configured the additional IFTTT to upload attachments. Please find the same for your reference. But still I am facing the same issue. Attachments are not loaded into JIRA.
Please let me know your comments. Also, Is there anyway I can connect with you real quick so that we can resolve this issue quickly. Please let me know if any such opportunity for the same!
Many Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your condition for the IFTTT looks suspicious...
If you want to check the Attachments (field value) to be present then yo need to have something like
!Attachments:[empty]
See more on ConfiForms filters here - https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Filters
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Alex,
Updated the code like !Attachments:[empty]. But still it is not working!
I am getting the same result in Jira Dashboard. (Getting only the name of the Attachment and not as an attachment) Please find the below for your reference! Thank you so much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hard to tell without seeing complete configuration.
Could you share the storage format for the page with the form or at least the configuration of the IFTTTs that create Jira issue, save back the issue key and the IFTTT that attempts to upload the file (Attachments) to created Jira issue
Feel free to open support request if yo are not comfortable with sharing your configuration here, on public forum - https://wiki.vertuna.com/display/VERTUNA/Support+Request+Form
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.