Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,553,226
Community Members
 
Community Events
184
Community Groups

Jira automation rules linking

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

1 answer

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 02, 2023

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.

Screen Shot 2023-05-02 at 10.34.56 AM.png

Hi @Trudy Claspill 

 

Yes, trigger was "Issue Created".

 

Great, thank you so much for your response.

 

It works as expected now.

 

Thanks,

Kaviraj

Like Trudy Claspill likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events