Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

What should be the format of post body to post attachment to jira issue?


I am working on an application which creates issues on jira. For this, I am using jira rest api.I am using javascript in the application. So, my question is this in what form, should I post the image in order to add an attachment to an issue ? is it base64 or just the file object? I have used both but it gives 415 Unsupported media type error. Please help me in this.

1 answer

0 votes
Warren Community Leader Jan 11, 2021

Hi @Shivam Gupta 

I've implemented this answer in C# and it works successfully - I assume that it shouldn't be too much effort to create a javascript equivalent.

Good luck

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