Unable to create an issue using REST API v2

Hello community! Need your help please!
I am trying to create an issue as it is described here in doc. I always receive 400 error.
In request body i am using two variants:

  • bodyData from the example
  • issue “fields” i got using this endpoint

The project where issue should be created is new and empty, i use this project’s ID in request body (replacing the existed one). And it doesnt work

Welcome to the Atlassian developer community @AndreyRakhmanin,

Could you post the full HTTP request & response? Which auth mechanism are you using?

Hello @ibuchanan ! Thank you for replying to me. I have already found the solution - removing from body data all the fields containing old issue’s ID will solve the problem.

1 Like