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

How to Attach the Attachment using Attachment/File data using JIRA REST API




I am doing integration between Salesforce and JIRA. I am getting the Attachments data from the Salesforce ( file name, file type, content). I am not sure how to attach the attachment using the attachments data using REST API. 


1 answer

0 votes
Thomas Deiler Community Leader Feb 13, 2020

Dear @Nagendra M ,

first have a look at the API-DOC. Important to know:

  • you need an issue before you can attach
  • you need to set the header X-Atlassian-Token: no-check
  • name of the multi part mime type content must be "file".

I recommend to probe with curl first, before integrating in salesforce.

So long


Hi @Thomas Deiler :

Thanks for your quick reply.

JIRA API Documentation doesn't have any Example of how to add the Attachment using the Attachments data. I did set up the reaming required setup in my HTTP Calls. I don't know what are the required fields or Field Id's to pass the data.


Thomas Deiler Community Leader Feb 13, 2020

In which programming language do you call the REST API?

Hi @Thomas Deiler :

I use Boomi Tool. for this integration, I am using JSON in Boomi tool.


Bee Vang I'm New Here May 17, 2022

I too am having this integration question. 

Suggest an answer

Log in or Sign up to answer

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