Forums

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

Jira Automation: define relation between subtasks and the triggered issue

Alireza Panahi October 6, 2020

Hello,

I'm trying to implement automation for a story and the scenario is: if all subtasks move to one column (all subtasks have the same status) then the story should move to that column (status).

Here is my automation: 

Screenshot from 2020-10-06 19-24-49.png

I think I'm almost done and I'm close to the answer.

The only field I don't know how to fill is matching SQL filed in the related issue condition section.
I want to say if all subtasks status is equal to the status of the trigger issue then make the transition.

I tried {{issue.status}} but it's not work.

Thanks in advance

2 answers

2 accepted

1 vote
Answer accepted
Manon Soubies-Camy
Community Champion
October 7, 2020

Hi @Alireza Panahi,

Can you try with {{triggerIssue.status}} instead of {{issue.status}}?

Hope this helps,

- Manon

0 votes
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 7, 2020

Hello @Alireza Panahi

Just as mentioned by @Manon Soubies-Camy{{triggerIssue.status}} should work for you.

Additionally, you don't need the following condition:

Screen Shot 2020-10-07 at 19.14.59.png

Even if the issue does not match the condition above, the outcome would not cause any difference in the automation result.

Basically, the rule below should properly work for you:

Screen Shot 2020-10-07 at 19.10.23.png

Let us know if you have any questions.

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