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
Next: Root
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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi Team,
We have a requirement to auto-assign a specific issue type tickets to specific user based on project. We have around 30+ active projects, hence due to limitation in jira automation (that only 65 components can be added in one rule), was able to achieve partially through two rules with if-else components.
Current rules are as follows:
Rule 1:
if ticket created in project A, it will assign to person John and change status to approve
if else ticket created in project B, it will assign to person Peter and change status to approve
if else ticket created in project C, it will assign to person Andy and change status to approve
if else ticket created in project D, it will assign to person John and change status to approve
and so on..
Rule 2:
if ticket created in project E, it will assign to person Smith and change status to approve
if else ticket created in project F, it will assign to person Chris and change status to approve
if else ticket created in project G, it will assign to person Andy and change status to approve
if else ticket created in project H, it will assign to person John and change status to approve
and so on..
else ticket is not part of any projects, it will assign to person John and change status to approve.
Problem is that part of rule2, it's assigning rule 1's project tickets to person John while executing "else" part of rule 2.
Example: When a ticket is created in Project C, as part of rule1, first it's assigned to Andy, but while executing rule2, it's assigned to John based on else condition.
Could anyone please suggest how to achieve this? For now, I have removed the else part from rule2.
Could not see any option to link both rules.
Thanks,
Kaviraj
Hello @Kavi
What is the trigger for these rules? Is it using the "Issue Created" trigger?
I would recommend putting an Issue Fields Condition after the trigger of each rule so that each rule will run only when the create issue is NOT ONE OF the projects handled in the other rule.
Yes, trigger was "Issue Created".
Great, thank you so much for your response.
It works as expected now.
Thanks,
Kaviraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.