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

Keep your team in the loop with Team @mentions in Jira Software!

Hi everyone! My name is Jenny, a Product Manager at Atlassian. After launching Team @mentions in Confluence, we heard a lot of positive feedback from customers that they love how easy it is to @men...

557 views 6 18
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