Forums

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

Do you have Jira Rest API for simplify workflow?

cdplab March 13, 2019

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
}

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 18, 2019

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? 

Suggest an answer

Log in or Sign up to answer