This error message would tend to indicate that this issue type is invalid to create in that project. Could you try to do the following GET to see what values are returned?
curl --request GET \
--url 'https://your-domain.atlassian.net/rest/api/3/project/INIT' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
This query should be able to tell you the ID of the project. With that number, you can then query which issuetypes can be created there in
curl --request GET \
--url 'https://your-domain.atlassian.net/rest/api/3/issuetype/project?projectId={projectId}' \
--header 'Authorization: Basic [encodedtoken]' \
--header 'Accept: application/json'
This can then give us the id of the issuetypes in that project.
From there I'm interested to see if you can send a POST call to just create an issue of this type (even without trying to set the Epic in the issue create call). Curious to learn more here.
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.