Hi!!!
This is the method that you are looking for if you are using Jira on Cloud.
But if you are using Jira Server/Data Center this method doesn’t exist.
You must follow the next flow by api rest:
https://docs.atlassian.com/software/jira/docs/api/REST/8.13.9/
1. Get the issuetypes of the project.
2. Create a new issuetype scheme with the issuetypes that you have got plus the new ones that you want to add.
3. Associate the new issuetype scheme with the project.
4. Delete the old issuetype scheme if you can and want to.
I hope I have helped you.
Best Regards
Txus
We followed below for adding issue type in issue type schema via REST API but it's not working and showing error (HTTP Status 405 – Method Not Allowed)
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-schemes/#api-rest-api-3-issuetypescheme-issuetypeschemeid-issuetype-put
https://docs.atlassian.com/software/jira/docs/api/REST/8.13.9/
We are getting below error while following
PUT method https://domain/rest/api/3/issuetypescheme/{issueTypeSchemeId}
/issuetype
Body :{ "issueTypeIds": [ "10000", "10002", "10003" ] }
Error we getting is
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I followed below curl call but still showing an error
PUT https://domainname/rest/api/2/issuetypescheme/issuetypeschemeID
Body :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.