It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can't close parent issue if sub-tasks are closed Edited

Placed 2 photos to explane my problem. Can community assist me and explane why parent issue can't become closed? I've updated my parent issue few times.

1.png2.png

 

Best regards

1 answer

Have you updated the subtask, or just the parent?

If I am reading right, you need to update the subtask to trigger the automation, not the parent.

Is there a condition/validator on the parent that might be preventing the transition? (ie can you transition it manually?)

Just parent issue. But there's no need to update subtasks in scheme. There's only condition to autotransite our parent issue.

I need to transite my parent issue into another status by the automation if all subtasks are closed.

And it's possible to transite parent issue manually.

Scheme:

If parent issue's status is in progress and subtasks are closed parent issue must be transited into approval status when updated.

 

P.S. JQL-search for subtasks detect parent issues (not subtasks).

is QMS-16 the parent or the subtask?

The way your rule is currently written.

  • When an issue is updated
    • Look for the parent of the updated issue.
    • Check 
      • Check that that issue (the parent) is in progress
      • check that all subtasks of the parent are close
    • If both are true, transition that issue.

The key is that the process starts with an update to the subtask. not the parent. If you update the parent, it has no parents so nothing happens. You need to update the subtask to transition the parent.

If you want the automation to take place on an update of the parent, then you would want a different rule

  • When an issue is updated
    • If that issue has subtasks
    • And all those subtasks are closed
  • Then transition that issue.

Notice the point of view change. The automation in that case starts with an update to the parent, not the subtask.

Hello!

Problem decided. I had to use default addon scheme in its list.

Thank you!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

866 views 6 24
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you