JQL to get blocked Issues

别来无恙 提交于 2019-12-12 18:23:54

问题


Is there a native JQL (not a plugin) that returns tickets that have linked issues listed as "is blocked by" (so I can see all my blocked tickets).

All I have found is linkedIssues() but that can require a specific issue ID to search for which is entirely unhelpful.

I am using Jira Cloud 7.4.


回答1:


In the core JIRA JQL functionality the closest thing you have, as you've already found out, is linkedIssues() that requires a parent Issue reference.

What you need is Adaptavist ScriptRunner, they have a function called hasLinks(). There are also a handful of other add-ons that offer this functionality but like ScriptRunner, they all cost money.

Related JIRA community question
JIRA Cloud feature request




回答2:


According to Esther Strom's answer on this Atlassian site, there's a new query type:

Atlassian has very recently introduced a new JQL function called issueLinkType, which can be used in filters, but also in boards.

It's not perfect; if you're already using card colors for something else, you won't be able to use this as well. It also behaves inconsistently when a ticket has links of multiple types. But if you're looking for an easy way to get a view into what might be blocked, and what might have blockers, it works pretty well.




回答3:


The below query is also helpful (add it in the filter setup):

project = "Project ID" AND issuetype in (story, Spike) AND Sprint = "Sprint ID" AND linkedIssue in issueHistory()


来源:https://stackoverflow.com/questions/45597004/jql-to-get-blocked-issues

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