Hi All,
I have recently started interacting with JIRA Rest APIs and I am simply trying to create an ISSUE for a particular PROJECT.
I get a response which specifies what issue types exist in the project, and I try to use the TASK with id 10002 as the parent for the issue I am trying to create.
Here is the response I get about the project for reference,

But when I do this, I get the below response.
{ "errorMessages": [], "errors": { "project": "Sub-tasks must be created in the same project as the parent." }}
In both these calls, the project Id is the same.
Can someone please suggest what can be done here?
Much thanks.