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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

REST API: Create project with my issuetype

I need to programatically add 1 issuetype and then programatically create a project using issue type scheme containing this issuetype. 

So far I have managed to create issuetype programatically, it is added to Default Issue Type Scheme. Now I would like to create a project using Default Issud Type Schceme but I cannot find the way. 

Please advise!

1 answer

Hello Piotr,

 

Look at this link https://docs.atlassian.com/software/jira/docs/api/REST/7.6.0/#api/2/project-createProject

 

This is the REST API for Jira 7.6.0. If you look at the schema, there is no way to set the issue type scheme at the project creation, or even to modify it. 

You can modify the Issue Type Scheme associated to the project after the project creation, but it is not very practical.

 

If you are looking for a way to simplify the project creation process, you can take a look at a plugin called Gaia for Jira https://marketplace.atlassian.com/plugins/ca.nuum.gaia/server/overview

 

This allows you to configure a project template by specifying the schemes (on any type) you want to use for that project type (you even have the option of making a copy of that scheme at project creation, like Jira does). With that plugin, you could configure a Issue Type Scheme the way you want (and add issue types to it the way you were able to with the default issue type scheme), create a project template with Gaia for Jira, and specify your scheme in it. That way, each time you create a project using that template, it will automatically set the correct schemes at the project creation. The plugin also comes with a REST API you can use to create projects by specifying the project name, key and Gaia template you want to use.

 

I hope this helps.

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