-
Bug
-
Resolution: Unresolved
-
Medium
-
Severity 3 - Minor
Issue Summary
If you create an automation rule with the "Field value changed" trigger set to monitor the field "Parent" and listen to the all work items operations, the automation will run twice when you create or transition an issue and changing the parent field.
Steps to Reproduce
- Create an automation rule similar to the following:
- Create or transition an issue, adding the parent in the process.
Expected Results
- The automation rule should run only once.
Actual Results
- The automation rule is running twice, one for the issue_created or issue_transitioned event, and other for the issue_updated event.
This can lead to multiple undesired results, such as duplicated issues and/or actions.
Workaround
You can simply edit the automation rule to only trigger when the parent field when the operation edit work item is triggered. If you create or transition a new issue with the Parent defined, the rule will still be executed, and only once:
- is duplicated by
-
AUTO-1737 If using "Field value changed" as a trigger and Parent field to watch, automation will double trigger on issue creation
-
- Closed
-
- relates to
-
AUTO-2052 If using "Field value changed" as a trigger and Parent field to watch for edit work item, automation will trigger on work item creation
-
- Needs Triage
-