Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Uploading Attachments in JIRA Dashboard from Confluence Page Edited

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!

Attachment Page.JPGPage1.JPGPage2.JPGPage3.JPG

 

 

1 answer

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!

 

Page 3.JPG

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

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!

Result in JIRA.JPG

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

320 views 9 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you