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

Automation - IF Subtask includes specific characters

Victor
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!
April 23, 2024

I would like to create an automation that creates a QA subtask in an issue, but only:

  • IF there is not already subtask in the issue with a summary starting with "QA Task - "

I already built the subtask creation piece but need help with this specific piece. Any thoughts?

 

2 answers

2 accepted

0 votes
Answer accepted
Tharaka_Hettiarachchi
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.
April 24, 2024

Hi @Victor ,

You can use a 'Related issue Condition'. Refer the attachment

Screenshot 2024-04-24 at 15.29.01.png

Cheers!

0 votes
Answer accepted
Bill Sheboy
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.
April 23, 2024

Hi @Victor -- Welcome to the Atlassian Community!

Without seeing your entire rule...

Perhaps try using the related issues condition with JQL, checking for no issues matching, and use the exact-phrase syntax for the CONTAINS operator to escape the quotation marks:

https://support.atlassian.com/jira-software-cloud/docs/jql-operators/#CONTAINS----

For example:

project = yourProjectName
AND summary ~ "\"QA Task - \""
AND issuetype = Subtask

 

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events