The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I send attachment from JIRA to an external API using ScriptRunner in JIRA cloud

Shravan Pandita
June 19, 2022

How can I send attachment  from JIRA to an external API using ScriptRunner in JIRA cloud

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Prince Nyeche - ELFAPP
Atlassian Partner
June 20, 2022

You will need to store the binary data of the attachment temporarily before pushing the data into your external API (i.e download then upload). I believe Scriptrunner limits in-memory usage, so you might not be able to simply just do a transfer except, you simply just want to post a string of the attachment location.

Shravan Pandita
June 21, 2022

@Prince Nyeche - ELFAPP  Thanks for your response .Do you have any sample code or documentation for the same.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events