Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,584
Community Members
 
Community Events
165
Community Groups

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

Edited

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

1 answer

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.

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS

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