Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
2
-
Description
When using the Create Workflow REST API endpoint to create a workflow, Step IDs are assigned to statuses incrementally but the ordering is not guaranteed. Step IDs don't have any impact on the behaviour of the workflow but the random order can make the workflow difficult to read in the UI.
It would be good to have the Step Order inferred from the list of Status IDs in the "statuses" property of the payload, or even to have an "ordinal which can be passed in with the statuses and transitions. Ideally the Transition flagged as "initial" would be the first step in the workflow and the rest inferred from the statuses array or with an "ordinal" property.
Attachments
Issue Links
- is related to
-
JRACLOUD-76427 Add a REST API endpoint to add new workflow status
- Gathering Interest
- relates to
-
JRACLOUD-74270 As a Jira admin, I want to be able to publish drafts and activate inactive workflows to make changes via the REST API
- Gathering Interest