Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation - Trigger Rule for each component added if two components are added at the same time

Kyle Roberts
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 13, 2023

I've set up a rule to trigger when an issue's "Components" field changes. This works fine when a user uses the GUI to add a single component. However, the "Components" field is a list that can have multiple components. When a user adds multiple components at once, the rule only triggers once. The {{fieldChange.toString}} and {{fieldChange.to}} variables only hold the information for the last component added by the user. Therefore, the rule is not getting triggered for the other components when the user adds multiple at once. Is there a way to setup the rule such that it will get triggered for each individual component? 

I see that the variable {{issue.components}} does have all of the components on the issue. But this doesn't let me know which ones were added.

0 answers

Suggest an answer

Log in or Sign up to answer