Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

block parent task completion based on subtask?

John Howell September 19, 2022

In Jira Software it is possible to modify workflow such that tasks cannot be marked done unless all subtasks are also done (ref: https://support.atlassian.com/jira-cloud-administration/docs/configure-sub-tasks/)

I can't see a way to do this within Jira Work Management within the standard Team project transition settings.

Does anyone know if it is possible to create this dependency on subtasks in JWM?

1 answer

0 votes
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 20, 2022

Hi @John Howell and welcome to the community!

I have accomplished this through use of automation and a workflow validator.

Automation

We use an automation rule to flag/unflag the parent task based upon the state of its sub-tasks.  In the example below, the rule triggers on creation/transition and branches into the parent task twice. 

  1. Evaluates whether any sub-tasks are still unresolved and if it returns 1 or more, the parent is flagged. 
  2. Evaluates whether any sub-tasks are still unresolved and if it returns 0, the parent is unflagged

2022-09-20_06-19-36.jpg

Workflow Validator

Now, in your workflow, you'll want to use the regular expression check against the Flag field

  • ^.{0}$
John Howell September 20, 2022

@Mark Segall thanks very much for coming back to me on this, I will give this a try today and come back to you. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events