Filter to show sub tasks of a filtered list of parent tasks

半腔热情 提交于 2019-11-30 16:52:00

I have a solution that requires no plugins whatsoever, but some manual work that is much better than listing the tasks in the query itself:

Using the linkedIssues function, you can write a query like so

parent in linkedIssues("PROJ-1061")

Now, link all the issues you want in this query to the PROJ-1061 and you're golden. You can do this in a bulk job, you can also add it as a trigger in a workflow potentially.

You can install the Craftforge JQL functions https://plugins.atlassian.com/plugin/details/31601

You then create a filter

project = MyProject AND fixVersion = "1.1.1" and issuetype in standardIssueTypes() and status != Closed

Call this filter for example 'parentIssues'

Using the JQL

issue in subtaskIssuesFromFilter("parentIssues")

will retrieve all relevant subtask issues.

Use Script Runner plugin and a query like:

issueFunction in subtasksOf("project = MyProject AND fixVersion = 27_04_2013 and status != Closed"))

JQL Tricks adds tons of additional JQL functions: https://marketplace.atlassian.com/plugins/com.j-tricks.jql-plugin

Here an example for the above using their syntax:

issue in parent("project = MyProject AND fixVersion = 27_04_2013 and status != Closed")

Hassan Saleem

There is no need for any Plugin.

Switch to "Advanced" filter option and enter

status in ("Open") AND parent in (PHX-xxx,ENG-xxx)

It will give you all the open tickets present as a subtask in parent JIRAs. Build more complex and enjoy using JIRA. Advanced filter options will also give you all possible values to build Queries.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!