How to use transition names as an automation trigger
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
Currently, it's not possible to configure 'per transition' automation triggers in cases of multiple transitions with identical 'from' and 'to' statuses. The 'Issue transitioned' trigger only allows 'From status' and 'To status' selection.
Related Feature Request: AUTO-824 - Ability to configure “Issue transitioned” per transition of workflow at Automation
Solution
You can follow the approach mentioned below to trigger the automation rule for a specific transition among multiple transitions between the same source and destination status.
Step 1: Add post function in the workflow
For each transition between the same source and destination, add a post function to update the transition name in a custom field using the 'Update Issue Custom Field'. You can give the static value for each transition.
Step 2: Structure the automation rule as suggested below:
Trigger: Field Value Changed
Fields to monitor for changes: Select your custom field
Change type: Value added
For: Transition Issue
New condition: If/Else condition
Select Issue Field condition and compare the static values which were added using post functions
Select the next action accordingly
References:
If you encounter issues or require further clarification on the topic, please consider reaching out to Atlassian Support for further assistance.
Was this helpful?