How to change default WorkflowScheme for JIRA project by REST for JIRA 8.1.3

Prakhar Raj March 26, 2021

We are trying to automate  150 project creation and map it to a existing workflowScheme by REST API . project is created and i am able to assign issuetypeschemeid by below API

/rest/api/2/issuetypescheme/{schemeId}/associations

However can't see ay such API for WorkflowScheme assigning. is is possible? if not , can a project created itself with customworkflowschme ?

Thanks

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.
March 26, 2021

Hello @Prakhar Raj 

Welcome to the community.

There does not seem to be an API endpoint for changing the workflow scheme assigned to a project. Actually making such a change to a project can result in questions that would need to be answered interactively by an admin, so I suspect no such API will be created.

See this post for a discussion on the topic:

https://community.atlassian.com/t5/Jira-questions/How-to-change-jira-project-s-workflow-via-REST-API/qaq-p/598536

At the end of that post is a link to another post that talks about instead creating projects using a shared configuration.

https://community.atlassian.com/t5/Jira-questions/How-to-create-project-with-shared-Configuration-via-REST-API/qaq-p/650062

Suggest an answer

Log in or Sign up to answer