I get this error everytime I try to move an issue to an EPIC via a POST Rest API. I wasn't aware about the fact that it was a next-gen issue until I saw this error message. Now that I know, what should I do to eliminate this error?
The error message is provided below:
"errorMessages":["The request contains a next-gen issue. This operation can't add next-gen issues to epics. To add a next-gen issue to an epic, use the Edit issue operation and set the parent property (i.e., '\"parent\":{\"key\":\"PROJ-123\"}' where \"PROJ-123\" has an issue type at level one of the issue type hierarchy). See <a href=\"https://developer.atlassian.com/cloud/jira/platform/rest/v2/\"> developer.atlassian.com </a> for more details."],"errors":{}}