Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get initial status for workflow of a next-gen project

Edited

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.


Capture.PNG

1 answer

0 votes
Benjamin Community Leader Dec 31, 2021

@Guilherme Andrade - Why do you need that info and what would be the goal? The first status is actually "TO DO".

 

Thanks,

 

Ben

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you