Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,291
Community Members
 
Community Events
168
Community Groups

block parent task completion based on subtask?

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 Sep 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}$

@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

Atlassian Community Events