Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Are nested if/else statements supported in automation

Jeanna Knowles
Contributor
March 4, 2022

I am trying to create a automation that will update dues dates on sub-tasks. 
When the value of the due changes on the story, if the subtask is not in a status of Done, it will update the subtask due date for the value assigned. 


Is there a way to have nested if/else values? 


This is the incomplete automation because I can not figure out how or if "if/else" can be nested under a branch rule.

If not are their any suggestions? 


Also to note, there are a min of 4 subtasks that would have their due dates updated with different time frames.

2022-03-04_12-15-56.jpg

 

1 answer

1 accepted

3 votes
Answer accepted
Mark Segall
Community Champion
March 4, 2022

Hi @Jeanna Knowles 

No, you cannot nest IF conditions.  However, you could change your branch type from Sub-Task to JQL and let your JQL perform the business logic to define which subtasks should be updated. 

If you have different actions for different situations, you would then just create another branch based upon JQL.

Suggest an answer

Log in or Sign up to answer