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

Only add two subtasks

Louise Overmars
Contributor
August 23, 2023

Hi,

We are new in automation and we made a rule to create 2 subtasks when a story gets the status TO DO.

Well that worked.

But, when the story changes from status and is put on TO DO again for the second time, the same tasks are made again.

How do we create a rule that the 2 subtasks are only created once?

 

RULE.PNG

1 answer

1 accepted

1 vote
Answer accepted
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 23, 2023

Hi @Louise Overmars 

It is a common question. You can add an If/Else condition in your rule and check if the issue was created earlier. To check that it could be based on something like a specific summary. If in that issue there is already subtasks with that summary then don't create further issues.

You can use the Matching JQL like this.

summary ~ "Sub Task title"

 Condition would be: None match specified JQL.

I hope it helps.

Ravi

Louise Overmars
Contributor
August 24, 2023

I'm gonna try it!

thanks

Louise Overmars
Contributor
August 30, 2023

@Ravi Sagar _Sparxsys_ 

Hi,

I think I'm a total nitwit, but could you please write out the whole rule for me.

I'm doing something wrong and i don't see what :-D

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events