Hello, I'm trying to retrieve the initial status of a transition inside a workflow on a next-gen project.
I've tried so many ways, but it seems that there is no api that support next-gen projects transitions.
Things that I've tried so far:
/rest/projectconfig/1/workflowscheme/{projectKey}
/rest/api/latest/workflowscheme/{workflowschemeid} - Returns 500 error
/rest/api/3/workflow/transitions/{transitionId}/properties?workflowName={workflowName} - Returns empty
/rest/projectconfig/1/workflow?workflowName={workflowName} - Returns the statuses and the possible targets, but it's impossible to know the order of them. If I have a well configured workflow (with all transitions configured well) it is posible to determine which one is the first one by search the result and filtering the item that have no target to it, but in the case of the image below, it's impossible.
@Guilherme Andrade - Why do you need that info and what would be the goal? The first status is actually "TO DO".
Thanks,
Ben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.