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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,638,467
Community Members
 
Community Events
196
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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
AUG Leaders

Atlassian Community Events