It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do i attach the attachments while creating issue through Jira Rest API

Hi Team,


Could you please help me out to attach the attachments while creating the issue through Jira Rest api.


Thank you in advance,



1 answer

Hi Nic Brough,

Thank you for Responding back,

I came across this page , could you please show how do I attach file exactly after the issue created in curl command or how do i pass the issuekey to the attachment curl once the issue is created.

Actually I want to automate this manual process of pasting issuekey in attachment curl.


Thank you,



I don't understand what else you are looking for.  I can't use the command given for you.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

870 views 6 24
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