We are trying to make http request to attach file to jira issue through power automant Http service

divyansha.shree
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 18, 2024

 

We are trying to make jira issue through power automate we are able to create issue on Jira but when we are trying to create an attachment to Jira issue it is sending error page and giving 500 error as internal server error after running for 15-20 minutes.Screenshot 2024-12-19 115540.png

Screenshot 2024-12-19 112739.pngScreenshot 2024-12-19 112826.png

{ "Date": "Wed, 18 Dec 2024 11:49:10 GMT", "Server": "AtlassianEdge", "Timing-Allow-Origin": "*", "X-Arequestid": "", "Set-Cookie": "atlassian.xsrf.token=c4370f26383e_lout; Path=/; SameSite=None; Secure", "Cache-Control": "no-store, no-transform, no-cache", "X-Content-Type-Options": "nosniff", "X-XSS-Protection": "1; mode=block", "Atl-Traceid": "", "Atl-Request-Id": "", "Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload", "Report-To": "{\"endpoints\": [{\"url\": \"https://dz8aopenkvv6s.cloudfront.net\"}], \"group\": \"endpoint-1\", \"include_subdomains\": true, \"max_age\": 600}", "Nel": "{\"failure_fraction\": 0.001, \"include_subdomains\": true, \"max_age\": 600, \"report_to\": \"endpoint-1\"}", "Server-Timing": "atl-edge;dur=274,atl-edge-internal;dur=9,atl-edge-upstream;dur=265,atl-edge-pop;desc=\"aws-ap-southeast-1\"", "Content-Type": "text/html; charset=UTF-8", "Content-Length": "1636" }

1 answer

0 votes
Mahesh Shinde
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 18, 2024

Hi @divyansha.shree

Please, go through the article: https://confluence.atlassian.com/jirakb/how-to-add-an-attachment-to-a-jira-cloud-issue-using-rest-api-1431248511.html

Make sure that the Body is using correct parameters for mentioning the file details.

Regards,

Mahesh Shinde

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events