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,556,264
Community Members
 
Community Events
184
Community Groups

Assign users in automation using a single rule with if/else statement and JQL

Current configuration: an epic is created and based on the ticket type a sub-task / different issue type is created under the epic.

I want automation to assign a user to the sub-task based on specified JQL. Currently I'm creating scheduled rules to check against the JQL and assign user BUT we have 20+ users who could be assigned which means 20 rules to be created / maintained.

Can I achieve this using only one rule to maintain? Thinking using the below logic but it's not currently working:

WHEN issue is created -> IF: matches specified JQL THEN assign user xyz

ELSE-IF: matches specified JQL THEN assign user ABC

 

Screen Shot 2023-05-09 at 9.11.55 AM.png

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 09, 2023

Hello @Trevor Overstreet 

In what way is the rule not working?

Is the rule getting triggered at all?

What does the Audit Log for the rule execution show?

Hey Trudy and thank you for the response! The rule errored on the parent task and not working (or running) on the subtask so I just created basically the same rule but the trigger is now Scheduled vs. of Issue Created. This works but the rule runs every 15mins vs. whenever a new subtask is added

Unless I'm missing a condition that will run the rule when the subtask is created?

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 09, 2023

So the subtask is created by one rule, and in another rule you want to automate setting the Assignee. Is that correct?

If so, take a look at the Rule Details for the rule where you want to set the subtask Assignee. Make sure this box is checked:

Screen Shot 2023-05-09 at 1.33.01 PM.png

Looks like that did the trick! Thank you so much

Like Trudy Claspill likes this

Suggest an answer

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

Atlassian Community Events