JIRA:搜索给定链接类型的所有问题

发布于 2024-09-27 15:20:20 字数 273 浏览 12 评论 0原文

有没有办法查询特定链接类型的所有问题?

例如,让一个问题可以“依赖于”另一个问题的依赖关系链接。是否有查询来查找依赖于其他问题的所有问题(又名“依赖于”链接的所有问题)?

我知道有 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

早茶月光 2024-10-04 15:20:20

您可以使用 Script Runner 插件- 编辑:不幸的是它不再免费。不过,4.0 之前的最后一个版本仍然如此。详细信息请参见https://www.adaptavist.com/doco/display/SFJ/ Downgrade+ScriptRunner

它具有大量非常有用的功能,其中之一是 hasLinks()

使用示例:

issueFunction in hasLinks("blocks") OR issueFunction in hasLinks("is blocked by")

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:

issueFunction in hasLinks("blocks") OR issueFunction in hasLinks("is blocked by")
忆沫 2024-10-04 15:20:20

您可以使用 Craftware JQL 来破解它linkedIssuesFromFilter,其中过滤器为“所有问题”

You can hack it with Craftware JQL's linkedIssuesFromFilter, where the filter would be "all issues"

深白境迁sunset 2024-10-04 15:20:20

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

我很坚强 2024-10-04 15:20:20

如果您需要 JIRA On-Demand 解决方案 - 您可能会发现这个付费 添加-On 有用

它公开了 MongoDB 语法和一些条件生成器 UI,因此您应该能够搜索问题:

  • linkedIssuesHaveStatus([status])
  • subtasksHaveStatus([status])
  • linkType([linkType])
  • workBetween([started |创建|更新]、[自]、[至])

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:

  • linkedIssuesHaveStatus([status])
  • subtasksHaveStatus([status])
  • linkType([linkType])
  • workBetween([started|created|updated], [from], [to])
硪扪都還晓 2024-10-04 15:20:20

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 use issueLinkType="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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文