Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to add some new "issue types" to issue-type-scheme via rest api ?

I need to add several new "issue types" to the existing schema. I can't find the method I need through rest-api.

2 answers

1 accepted

0 votes
Answer accepted

Hi!!!

This is the method that you are looking for if you are using Jira on Cloud.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-schemes/#api-rest-api-3-issuetypescheme-issuetypeschemeid-issuetype-put

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

Hi @Dmitrii 

I think this is what you are looking for 

Regards

Dave

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you