You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I created 3 automation rules because there were over 100 steps and needed to split into multiple rules. I'm trying to figure out how to trigger a second rule after the first rule completes. Similarly, how to trigger a third rule after the second rule completes.
In a rule detail, I checked the "Allow rule trigger" option.
However, I believe I need to have some kind of conditions to specify "the rule 2 starts after rule 1 completes". Does anyone know how to solve this?
My first thought would be to define a custom field to support triggering for rule chaining.
One such field could support all projects in an organization, as long as you controlled the field content across all your rules.
The "Field value changed" trigger will then focus on changes to that field for later rules in the chain. For a rule configured for a single project, this should not trigger excessively.
For the content of this field, I might suggest a GUID. That way you don't have to maintain a list of them (to avoid collisions with other rules using the field).
How would this work? After creating the custom field in your instance and configuring your project(s) to access it, you'd do the following to chain Rule A to Rule B:
Rule B should, of course, use the checkbox to enable other rules to trigger it.
NOTE: If your custom field is scalar (holds a single value), then ensure each project only has a single rule chain. If you want to support multiple rule chains in a single project, a bit more complexity is required:
Would be interested to know if this solution works for you!
Thank you for your suggestions. I understand theoretically, but I'm not sure how to execute it due to my lack of experience in Jira automation.
I created sample rules: "RULE 1" and "RULE 2". However, when I tried to create a project, only the Rule 1 was executed. I'm sure my syntax in Rule 2 condition is incorrect.
Hi @Kazumi Kerr -- Welcome to the Atlassian Community!
You are describing splitting down a rule with over 100 steps, and then triggering those rules sequentially.
I wonder if all of the steps you note are one atomic operation, or if there could be separate rules triggered on changes made...or even better, utilize the looping operations from advanced branching to help make a smaller rule. And perhaps some process analysis would reveal other simplifications to the rule (e.g. combined condition testing).
Given the limitations in the rule editor and error handling, smaller rules would be easier to maintain and improve.