JIRA:搜索给定链接类型的所有问题
有没有办法查询特定链接类型的所有问题?
例如,让一个问题可以“依赖于”另一个问题的依赖关系链接。是否有查询来查找依赖于其他问题的所有问题(又名“依赖于”链接的所有问题)?
我知道有 linkedIssues (key, linkType) 函数,它返回具有 linkType 的所有问题的键> 与密钥有关的问题。我想找到任何问题的 linkType 的所有问题。
谢谢!
Is there a way to query for all issues with a particular link type?
For example, let there be a dependency link where an issue can "depends on" another issue. Is there a query to find all issues that depend on some other issue (aka. all issues with the "depends on" link)?
I know there is the linkedIssues (key, linkType) function that returns the key of all issues that have the linkType with the issue with key. I want to find all issues with a linkType with any issue.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您可以使用 Script Runner 插件- 编辑:不幸的是它不再免费。不过,4.0 之前的最后一个版本仍然如此。详细信息请参见https://www.adaptavist.com/doco/display/SFJ/ Downgrade+ScriptRunner
它具有大量非常有用的功能,其中之一是 hasLinks()
使用示例:
You can use Script Runner plugin - Edit: It unfortunately is no longer free. The last version before 4.0 still is, though. Details here https://www.adaptavist.com/doco/display/SFJ/Downgrade+ScriptRunner
It sports a ton of incredibly useful functions, one of these is hasLinks()
Usage example:
您可以使用 Craftware JQL 来破解它linkedIssuesFromFilter,其中过滤器为“所有问题”
You can hack it with Craftware JQL's linkedIssuesFromFilter, where the filter would be "all issues"
Alexander 提到的包含功能非常适合其目的,但如果您想要更高级的功能,请查看商业 JQL Tricks 插件:https://studio.plugins.atlassian.com/wiki/display/JQLT/Issue+Link+Functions
The included function mentioned by Alexander is ideal for its purpose but if you want something more advanced check out the commercial JQL Tricks plugin: https://studio.plugins.atlassian.com/wiki/display/JQLT/Issue+Link+Functions
如果您需要 JIRA On-Demand 解决方案 - 您可能会发现这个付费 添加-On 有用
它公开了 MongoDB 语法和一些条件生成器 UI,因此您应该能够搜索问题:
If you need a JIRA On-Demand solution - you might find this paid Add-On useful
It exposes MongoDB syntax and some conditions builder UI, so you should be able to search for the issues:
在2024中,您只需使用
issueLinkType
即可。适用于 Jira Cloud。无需附加组件或插件。例如,
issueLinkType=Duplicate
将为您提供该类型链接的所有问题。或者您可以更具体,并使用issueLinkType="is duplicated by"
来指示方向。可以匹配链接名称或向内/向外描述,如 IssueLinking 配置页面上所示:
/secure/admin/ViewLinkTypes!default.jspa
In 2024, you can simply use
issueLinkType
. Works on Jira Cloud. No need for add-ons or plugins.For example
issueLinkType=Duplicate
will give you all issues with that type of link. Or you can be more specific and useissueLinkType="is duplicated by"
to indicate direction.Can match the link Name, or the inward/outward descriptions, as found on the IssueLinking configuration page:
/secure/admin/ViewLinkTypes!default.jspa