Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

"Field value changed" trigger does not count for value changed by automation, in Automation rule


Hi community,

I was trying to implement the following automation in my cloud using Automation rule:

1. We have issuetypes of epic, task, and sub-task.

2. There is a number field called priority sequence (PS), as a number from 1~9, for each issue type.

3. For task, we have field called task priority sequence (TPS), formatted as [epic's PS][task's PS]. For example, if an epic's PS is 3, and a task under that epic has PS of 5, then the task's TPS is 35.

4. Similarly, for sub-task, we have field called Sub-task priority sequence (SPS), which has three digits and formatted in a similar way as TPS. Using the above example, if a sub-task under that task has PS of 9. then the SPS for the sub-task is 359.

I want to have automation rules that update TPS and SPS each time when the PS of parent/epic changes. So far, the rule works for TPS. But I have a similar one in place for SPS, it does not work when the PS changes for the epic. 




<Update SPS>

I am guessing that it is because when PS in the epic changes, the TPS will changed by automation, but such changes by automation does not count for "value changed", so that the rule on SPS, which watches the changes on TPS, does not respond or update SPS.

I was wondering if it is the case and how could I make it work?

If automation rule doesn't work in my case, are there any other methods I can try?





I figured out a way to do it is through changing the epic:


But going through all sub-tasks is VERY slow, and I was wondering if there is any better way to do it. 



1 answer

Hi there,

You're correct that the change in TPS which was triggered by the first automation will not trigger the second automation, because the update does not publish an issue updated event by default when it's done via automation; however, you can actually publish an issue updated event as an action within your automation. This will then trigger the second automation, which is more efficient than the current solution because the index doesn't have to search for every incomplete sub-task every time.


Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you