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

Sequence of independent if's in an automation

Gerben Heinen
Contributor
April 16, 2024

Hi all, i am looking for a way to execute multiple steps in an automation which involves if's statements but not if-elseif-else. In pseudo code:

when {issue created}:
if value1 == x:
assignee = y
if value2 = z:
priority = low
send_email(t0_reporter)

I want all the code to be executed sequentially and not stop after the 1st if-statement.

I read about branching, but if I understand correctly, that seems to start multiple parallel execution pipelines.

Thanks in advance.

 

1 answer

1 accepted

1 vote
Answer accepted
Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 17, 2024

Hi @Gerben Heinen ,

You need to use branching. I am attaching a screenshot for your reference

image.png

Gerben Heinen
Contributor
April 17, 2024

Thanks, so just to be sure: the actions in these branches are executed sequentially? Also if the For: statement is different between branches?

Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 18, 2024

Rule is executed one after the other. Whenever there is match, the rule is executed

Suggest an answer

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

Atlassian Community Events