Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Create an issue with Rest API

Hi I'm trying to create bulk of issues, using file upload in postman and getting this error.
I can import/ export manually so permission thing is out of question.
I am getting error saying
"the issue doesn't exist or I dont' have a permission?
The URL I'm using is https://url/rest/api/latest/issue/Proect- id/attachments

2 answers

0 votes
Charlie Misonne Community Leader Jun 08, 2021

Hi Saba, welcome the the Atlassian Communinty!

Can you clarify what you're trying to do exactly? Are you trying to add attachments?

The proper endpoint would be  /rest/api/3/issue/{issueIdOrKey}/attachments. You shouldn't use project id. Attachments are added to individual issues o use the issue id instead.

0 votes
Ravi Sagar Community Leader Jun 08, 2021

Hi @Saba Ghani 

The end point is /rest/api/3/issue and method should be POST with the correct JSON body.

This page has details.

How are you planning to create issues in bulk? You will have to write a script in your favourite programming language to do that and read the issues' data from somewhere like a csv file or another tool.

For attachments you will have to do make another rest call when the issue is created.

I hope it helps.


Charlie Misonne Community Leader Jun 08, 2021

With postman you can actually loop over a csv So I'm assuming Saba is doing that.

But indeed, I think the endpoint is not right.

Aw- Thanks I have got your point and resolved my issue in postman. 

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