Hey,
I need the Jira REST API to simplify the workflow of a project created.
I found this.. But its not working as expected for simplification
curl \
-D- \
-u admin:admin \
-X POST \
--data {see below} \
-H "Content-Type: application/json" \
https://localhost:8080/jira/rest/greenhopper/1.0/workflow/convert?rapidViewId=10361
{
"id": "https://docs.atlassian.com/jira/REST/schema/convert-workflow-request#",
"title": "Convert Workflow Request",
"type": "object",
"properties": {
"projectKey": {
"type": "string"
},
"resolutionDoneStatusIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
This specific REST API endpoint is a private endpoint. It is not publicly documented anywhere on exactly how to use this specific endpoint. Furthermore, Atlassian can change the behavior of this endpoint at any time since this is private.
That said, I think that this specific endpoint is used on a Jira Software/Agile board when you might be using a non-simplified workflow in that project, and you go into the Board -> Configure -> columns, you can see an option to 'Simplify Workflow'. If you click that button, you get a popup to explain how Jira Software can attempt to simplify the workflow that project is currently using. This is a little wizard in the application that appears to be using that specific endpoint. That said, I'm still not exactly sure of the specifics of the schema used for the POST to that endpoint. Being a private API there isn't much to go on in terms of documentation for this.
What are you needing this API for? Could you instead use the wizard in the board itself to make this same change?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.