Hello,
I am testing creating a Jira issue via the APIs using the endpoint rest/api/2/issue.
When I POST this payload '{"fields":{"summary":"Main order flow broken","issuetype":{"name":"Story","subtask":false},"project":{"id":"13000","key":"XYZ","name":"XYZ","projectTypeKey":"software","projectCategory":{"id":"10008"}},"description":"Entering a Story via API"}}'
I get the following response: {"errorMessages":[],"errors":{"summary":"Field 'summary' cannot be set. It is not on the appropriate screen, or unknown.","description":"Field 'description' cannot be set. It is not on the appropriate screen, or unknown."}}
Any idea what I am doing wrong? My user does have admin access to the target project
I will suggest reviewing your permission scheme after checking your field screens to ensure those fields exist there.
Please ensure your project exists, the Story issue type is assigned to the project, and the screen assigned to the create issue operation under the Issue Type Screen Scheme has all of the fields (summary and description) you are adding to the payload of your request.
Cheers,
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.