I want to see all sub-tasks for unfinished tasks or fnished tasks with unfinished sub-tasks. This allows seeing which parts have been completed and which haven't.
I expect the following JQL to return true for sub-tasks that have parents with unfinished sub-tasks:
type = Sub-task AND parent in parentsOf("status not in (Closed, Done, Resolved)")
However, the parent in parentsOf(...) clause does not seem to work. What's the trick?
Thank you for your quick reply. I tried that one as well ;) subtasksOf(...) does only work if the parent task has a consistent state (finished only if all sub-tasks are finished). If there are unfinished tasks i wouldn't see them based on this function and it's just too easy to mask an error.
The function i am aiming for has one more level of indirection: Display all sub-task that belong to a task, which has unfinished tasks. I found no other theoretical way than via the subtask-parent-subtask relationship.
I see, I wasn't understanding the issue completely. In that case, you should be able to stack subtasksOf() and parentsOf() and get what you're needing.
Please try this and let me know if it catches all you're needing, it should return all subtasks if one subtask of the parent is unresolved.
issueFunction in subtasksOf("issueFunction in parentsOf('status not in (Closed, Done, Resolved)')")
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs