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

Can I make a trigger have multiple "If" conditions?

Erica Sandman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 4, 2024

Example:  If I have a Facility ID, and different account managers manage specific IDs, then can I make a trigger that makes ALL of the IDs for one account manager move to their bucket?

When: Issue Created
If : Facility ID contains 12, 24, 36
Then: Assignee = John Smith

 

1 answer

1 vote
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.
March 4, 2024

Hello @Erica Sandman 

What type of field is "Facility ID"; text, number, selection list, ...?

You can't put the condition "in" the trigger, but there are a variety of ways to manage this.

You could use a JQL Condition

Screenshot 2024-03-04 at 6.23.29 PM.png

If you want the rule to be able to examine the field and then assign the issue to one of multiple account managers, based on the field content, then you would want an IF-ELSE condition.

Screenshot 2024-03-04 at 6.25.52 PM.png

Screenshot 2024-03-04 at 6.29.01 PM.png

Erica Sandman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 5, 2024

Both of these theoretically should work.  I'll test it out and see how it goes. Thank you @Trudy Claspill 

Suggest an answer

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

Atlassian Community Events