Please help me with writing proper JQL for this.
Sometimes tasks have lots of sub-tasks, and it is perfectly OK for them being on the board during work on them. However, with time sub-tasks will be resolved to Done column. And as soon as parent task is also finished and moved to Done - there is no sense to keep and shop all its subtasks there.
I tried something like
issuetype in (Sub-task, Defect) AND issueFunction in portfolioChildrenOf("Status = Done") However without success.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Apply agile practices
Transform how you manage your work with agile practices, including kanban and scrum frameworks.
Learning Path
Configure agile boards for Jira projects
Plan, prioritize, and estimate upcoming work by creating and configuring agile Jira boards for company-managed projects.
Learning Path
Registered Scrum Basics™
Manage work more effectively by learning scrum basics from a global leader in agile transformation and training—and get credentialed by Scrum Inc.®