Forums

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

How can I set parent status based on the last subtask?

Red Ameba
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!
November 14, 2024

Hello,

We have one main ticket (parent) where we want to track periodically every e.g. 30 days its status based on the latest subtask.

So for example, we have parent

Parent possible state: New, Resolved, Not Resolved

Subtask possible state: Doing, Pending, Resolved, Not Resolved. (Resolved and Not Resolved are final state, once there it cannot be changed)

 

Basically the idea is to use automation so that if the latest subtask is "Resolved" the parent ticket also gets "Resolved" as a result of the automation.

However, lets say that there is two subtask in "Doing" it is possible to ignore the earliest ticket state and just consider the latest for the automations?

1 answer

0 votes
Trudy Claspill
Community Champion
November 14, 2024

Hello @Red Ameba 

Welcome to the Atlassian community.

How do you determine which subtask is the "latest" subtask? Is that based on the creation date of the subtasks?

Red Ameba
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!
November 15, 2024

Yes

Trudy Claspill
Community Champion
November 15, 2024

Is this your requirement?

  1. Every 30 days
  2. Look at some issue(s) (How do you know which parent issues to review?)
  3. Update the status of the Parent based on the status of the most recently created subtask

How do you want the Statuses from the Subtask to be mapped to Statuses for the parent?

Subtask status 

Parent status

(New, Resolved, Not Resolved)

 Doing  ?
Pending  ?
Resolved  Resolved
Not Resolved ?

Does the workflow for the parent issue support transitions from any status to any status?

If a parent issue is in a Resolved status but the most recently created subtask is not in a Resolved status, do you expect the status of the parent to change to some other status?

 

Do you have sufficient permissions to create an Automation Rule for the project? Are you a Project Administrator for the project? If you navigate to Project Settings / Automation, do you see an active Create Rule button?

Have you spent any time looking at the Automation Rules documentation and the template rules that are available, and trying to construct this on your own? If so, show us what you have.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events