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,461,070
Community Members
 
Community Events
176
Community Groups

Can I prevent issues from being closed while the sub-tasks are still open in a Team Managed Workflow

I've setup basic workflow in Team managed workflow which has basic transition rules. (not advanced transitions with properties, triggers, validators etc..)

 

Can I set the workflow to not allow the Issue to be transitioned to a particular status, while it has subtasks that are not 'Done'?

Or is it only available for particular workflow types?

 

 

1 answer

1 accepted

0 votes
Answer accepted
Mark Segall Community Leader Mar 18, 2022

Hi @Bill Quinn and welcome to the community!

As you know, team managed projects have less capability so you don't have the same condition logic you would have with company managed projects.  However, you could do something with a combination of the transition rule "Check an issue's field" and a couple automation rules:

Create a custom field (a checkbox should be fine) 

AUTOMATION RULE #1

Check the box when a new subtask is created

  • TRIGGER: Issue Created
  • CONDITION: Issue Type = Subtask
  • BRANCH: Parent
    • ACTION: Edit Issue (check the field created above)

AUTOMATION RULE #2

Uncheck the box when last subtask has been moved to Done

  • TRIGGER: Issue Transitioned to Done
  • CONDITION: Issue Type = Subtask
  • BRANCH: Parent
    • CONDITION: All Subtasks status = Done
    • ACTION: Edit Issue (Uncheck the field created above)

TRANSITION RULE

  • Check an issue's field = Your custom field = False

A great help Mark... Thankyou!

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events