Forums

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

Automation Clone Issue Fail

Özge Özgenç
Contributor
April 3, 2023

I have 3 team-managed projects: Design Project, Dev Project, and Test Project. When an issue is done in the design project, the issue needs to be cloned into dev project. Also, when an issue is done in the dev project, the issue needs to be cloned into test project. I have the automation but it fails. I will add the screenshots. I am open to any suggestions, thanks.

Design Project Automation: design-automation.png

Design Project Automation Fail: 

design-fail.png

Dev Project Automation: 

dev-automation.png

Dev Project Automation Fail:

dev-fail.png 

1 answer

1 accepted

1 vote
Answer accepted
Udo Brand
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 Champions.
May 23, 2018

Use single quotes within double quotes or vice versa

 

project = TEST AND issuetype = Enhancement AND status = "Seeking Approval" AND issueFunction in subtasksOf("project = TEST AND issuetype = 'TCRM - Dev Approval' AND status in (Open, Rejected)")
Michelle Larson
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 Champions.
May 23, 2018

This does not give me an error however it is not returning the subtasks that are either open or rejected when the parent is in seeking approval

Michelle Larson
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 Champions.
May 23, 2018

I also tried this and it still does not return anything

 

project = TEST AND issuetype = 'TCRM - Dev Approval' AND status in (Open, Rejected) AND issueFunction in parentsOf("project = TEST AND issuetype = Enhancement AND status = 'Seeking Approval'")

 

However if i  just use the sub queries they each return tickets.

Udo Brand
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 Champions.
May 23, 2018

Is Enhancement a subtask and "TCRM - Dev Approval" the parent issue? If not try:

 

project = TEST AND issuetype = 'TCRM - Dev Approval' AND status in (Open, Rejected) AND issueFunction in subtasksOf("project = TEST AND issuetype = Enhancement AND status = 'Seeking Approval'")

Michelle Larson
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 Champions.
May 24, 2018

That worked great thank you.

Ryan An
March 13, 2019

super helpful!!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events