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

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events