In Jira Cloud, is there a way to set the issue types for a specific project with REST?

I am trying to setup a project template or using REST give my users a function to create their projects with a bunch of configuration setup for them. 

I cannot seem to find any way to set the issue type scheme or to set the issue types for a new project.

 

1 answer

This widget could not be displayed.

Take a look at createmeta 

https://docs.atlassian.com/jira/REST/cloud/#api/2/issue-getCreateIssueMeta

Returns a list of projects and the issue types that are associated with them. 

Based on that information, filter out what is required (i.e. show only issue types for project X) 

Hi Charles. This is helpful but if a project does not support issue types we need, is there a way to add them to the project via REST?

I don't believe updating a project's issue type is currently supported. Refer to this open ticket https://jira.atlassian.com/browse/JRASERVER-59948

This will need to be done manually via the Administration UI.

One thing I can suggest is to just associate all the available issue types to this project. That way you're able to create the issues via REST without any problems. 

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

162 views 16 7
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you