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
Community Members
Community Events
Community Groups

Read the content of the file from given content url in Jira attachment JSON using scriptrunner

Hi ,

We are developing an integration, we need to send attachment to other ticketing service whenever attachment is added to Jira issue. We are using scriptrunner to call external API. But I'm stuck at how to send the actual content of the file 

We need to encode the content of the file to base64 format and upload the file.

I'm able to get the content url from the Jira attachment API, but how to get the file content from that?


Is there anyway to get the actual content or any workaround for this requirement would also be helpful.



0 answers

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,648 views 37 46
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