Forums

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

How to set "get back" automation for sub-task and parent

Maria Szmaj
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!
June 14, 2023

Hi,

I would like to ask about "get back" automation for sub-task and parent.

Let's assume, we use this automation and it's working well: When all sub-tasks are done → move parent to done.

But now the challenge is: if at least one of subtasks of this parent changed its status from Done to In Progress, change the parent status to In Progress.

I would like to ask for advice, how to do it in the most efficient way?

 

Thanks in advance!

 

1 answer

0 votes
Trudy Claspill
Community Champion
June 14, 2023

Hello @Maria Szmaj 

Welcome to the Atlassian community.

I would do that with this rule:

WHEN a status transition occurs from a "done" status to a "not done" status, for a Subtask type of issue

THEN FOR the parent issue of the subtask

    IF the status of the parent issue is a "done" status

    THEN change the status of the parent issue to a "not done" status

 

TRIGGER: Issue Transitioned
From status: Done (or whatever statuses represent done for your subtasks)
To status: (select all the statuses that represent "not done" for your subtasks)
CONDITION: Issue Field condition
Field: Issue Type
Condition: is one of
Value: (select the issue types you use for subtasks)
BRANCH: For Related Issues / Parent
CONDITION: Issue Field condition
Field: Status
Condition: is one of
Value: (select the statuses that represent "done" for your parent issues)
ACTION: Transition Issue
Destination Status: (select the new status for the parent of the subtask)

Suggest an answer

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

Atlassian Community Events