You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I would like to set up an automation that checks the statuses of parent's subtasks and updates the parent task status accordingly. However, I don't need just a copy/paste of the status of one specific subtask but rather the status of the least progressed subtask.
Now I know that the Workflow varies by each organization and that it's not really linear, so within the automation, I need to specify based on which condition it should inherit the status.
Let's establish 4 different statuses:
The trigger most likely would be a subtask status change.
What happens next is the part I don't know how to do.
What I need to happen when any subtask changes its status is to validate all other subtasks to see, if I should trigger the parent change. Not only that, but I need to make it linear.
You can imagine something like:
Any idea, how to achieve this?
Hi @david_kubac
Am I correct that you have a typo on 2.1, 3.1, and 4.1 that they should read "Todo", "In Progress", and "Done" respectively instead of "Backlog"?
If so, your rule could work like this:
Parent = {{issue.parent}} AND status = Backlog
Parent = {{issue.parent}} AND status = Todo
Parent = {{issue.parent}} AND status = "In Progress"
Parent = {{issue.parent}} AND status = Done
Thank you, I fixed the typo. Your solution looks sound! I will give it a go :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mark Segall I did a test and it doesn't work as expected, unfortunately.
What happens is that the parent inherits the subtask's status regardless of other subtasks.
As soon as I progress 1 subtask from Backlog to To do, the parent changes to To do.
What I need though is to keep the parent in Backlog until all subtasks are in To do.
See my video.
The expected result after the action I have done is that the Parent task will stay in status Backlog, instead, it transitions to To do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ahh sorry about that. I think we need to flip the script on this one:
parent = {{issue.parent}}
{{lookupIssues.status.name}}
Contains
Backlog
{{lookupIssues.status.name}}
Contains
ToDo
{{lookupIssues.status.name}}
Does Not Contain
Backlog
{{lookupIssues.status.name}}
Contains
In Progress
{{lookupIssues.status.name}}
Does Not Contain
ToDo
{{lookupIssues.status.name}}
Contains
Done
{{lookupIssues.status.name}}
Does Not Contain
In Progress
I tested this in my test instance and it seemed to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mark Segall
could you also add a screenshot of this automation? Trying to replicate it but I dont see options "Contain, Does not contain" etc when I select IF block condition with advanced compare condition
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What version of Jira are you using: Cloud, Server, or Data Center? And if using Jira Server, what version of automation rules do you have: Lite (free), or Pro (paid)?
The different versions of automation rules have different capabilities. For example, the Advanced Compare Condition is not available for the Lite version of Jira Server automation rules.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry for the delayed response. If you're on cloud as this question is tagged, you should have the option. Here's a snippet of the rule I created in my test environment:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.