Hi team,
I am getting the following error while trying to create a sub-task using JIRA REST API
URL: https://MYJIRA.atlassian.net//rest/api/2/issue/
REQUEST BODY:
{ "fields": { "project": { "key": "KEY" }, "parent": { "key": "2134" }, "assignee": { "emailAddress": "xyz@abc.com" }, "reporter": { "emailAddress": "xyz@abc.com" }, "issuetype": { "id":"ISSUEID" }, "summary": "Summary text" , "description": "Description Text" }}
Error:
{
"errorMessages": [ "At least one of 'id' or 'key' is required to identify an issue." ],
"errors": {}
}