Hi,
I have an automation rule that is triggering value changed for a list of fields. Labels is one example but its a custom field.
The automation is only triggering for the last one if a user adds multiple at the same time.
For example, if user adds ComponentA, ComponentB, ComponentC the expected outcome would be to trigger the automation 3 times for each component.
The automation only triggers for ComponentC.
Has anyone experienced a similar issue?
Hi @oliver_jackson -- Welcome to the Atlassian Community!
For a question like this, context is important for the community to help. Please post the following:
Until we see those...
Normally, field change triggers happen after the field changes. And so for list fields such as Labels, Components, etc. the person needs to leave the field for the change to be detected.
For many list fields, the workaround for your scenario to manage just the additions would be to use the field change smart values for the additions, perhaps just processing those in the rule: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--fieldChange--
Please note well: this will not work for all list fields because there are known defects with the changelog information supplied to rules for fields like Fix Versions, Affects Versions, and Sprint. To detect only the additions for those, sometimes the changelog entries must be gathered using the REST API endpoint and manually parsed in the rule logic.
Kind regards,
Bill
So managed to solve this but now I need to remove a link based on this component.
For every component
For every link
if link contains component in summary
send web request
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.