The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.