Fresh terminology for automation rules and components

An automation ‘rule’ is now a ‘flow', and a ‘component’ is now a 'step’. You may notice some inconsistencies in the documentation while we make this change. Read more about the updates in Automation

Transition a work item with automation

The Transition work item action will allow your automation flow to transition work items automatically.

However, when transitioning a work item using automation, you may run into the following error:

Destination status could not be resolved. If using a smart-value ensure this resolves to a numeric status ID:

While this error message can indicate that the status doesn't exist, it often means something different.

Transitions must follow workflows

When creating a flow to transition a work item, the transition must follow the space’s workflow. Learn more about working with workflows.

Take the following workflow for investigating and handling bugs – this workflow will restrict what can be done with the Transition work item action.

Example Jira workflow showing multiple statuses that must be completed in a very specific order.

For example, take a flow with a manual trigger that comments when a bug is a duplicate, and then closes it by transitioning to Done – this flow would not successfully execute on work items that are in the Awaiting triage state, as work items can only proceed to Under investigation from this status.

A flow run on a work items in this state will result in an error status.

Audit log for an automation rule with an error status, containing the "No transitions to specified status…" error.

This flow, however, will run successfully on Under Investigation and In Progress work items as the workflow allows transitions from these statuses to Done.

Flow actors need the correct permissions

The flow actor is the user who executes a flow. This user must have the relevant permissions to trigger the flow, and complete any actions that may be performed. Learn more about the flow actor.

Using the previous example, the details of the transition from Selected for development to In progress shows that there is a condition in place, so that only members of the developers group can execute this transition.

Workflow configuration in Jira. It shows a transition called "Fixing", that only developers can execute.

The Automation app user flow actor cannot be added to these user groups. You will need to configure any transition conditions with space roles in order to provide the appropriate permissions. By default, the automation flow actor is in the atlassian-addons-space-access role.

Learn more

See other Jira automation use cases in our Jira automation template library.

Still need help?

The Atlassian Community is here for you.