I'm trying to create an issue using the REST API and I get, “parent”: “Could not find the issue by id or key.”
This is my payload,
{ "fields": { "summary": "Test incident", "parent": { "key": "INC" }, "issuetype": { "id": "10546" }, "components": [ { "id": "11173" } ], "project": { "id": "11353" }, "description": "This is a test incident", "reporter": { "id": "5e9711b8756u3c0c151bf369" }, "priority": { "id": "5" } } }
This is my metadata,
"self": "https://mycompany.atlassian.net", "id": "11353", "key": "INC", "name": "Incident Management", "issuetypes": [ { "id": "10546", "description": "", "name": "Incident", "untranslatedName": "Incident", "subtask": false } ]
In your example, "key":"INC" should be "key": "INC-123"
INC identifies the project. You need to identify the individual parent issue.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.