The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add IssueTypeSchemes, WorkflowSchemes etc. to project with code

TimG1367
October 25, 2024

I wrote a Jira project template plugin for our Jira server.

Now I want to add my project which I get through my template an IssueTypeScheme, WorkflowScheme etc. through an api.

Whats the best way to do that ? We are on Jira server so I think that the REST api isn't the right way.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Trudy P Claspill
Community Champion
November 1, 2024

Hello @TimG1367 

If you want to change which scheme is associated to your project you will have to look at the API endpoint groups for each type of scheme. For example the endpoint group for Issue Type Schemes includes an endpoint for changing which of those schemes is associated to a given project.

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

You'll need to look and the groups for the other types of schemes to see if they provide similar endpoints.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events