Write a JQL query for an issue that has issue links of type defect and with the status open.

huangapple go评论70阅读模式
英文:

Write a JQL query for an issue that has issue links of type defect and with the status open

问题

我需要编写一个JQL查询,该查询寻找特定项目中具有解决类型的问题链接的问题。以下是我的JQL查询:project = NATMF and issuetype = Fix and issuelinktype = resolves,我想要优化此查询,以确保问题链接的类型为Defect,并且缺陷问题类型的状态为open。如何操作?

英文:

I need to write a JQL query that is looking for issues in a specific project with issue links of type resolves. Here is my JQL query: project = NATMF and issuetype = Fix and issuelinktype = resolves, I would like to refine this query to make sure that the issue links are of type Defect and that the status of the defect issue type is open. How to do that?

答案1

得分: 1

您可以为已连接的问题创建一个名为“Your_Linked_Filter_Name”的过滤器:issuetype = 缺陷 and 状态 = 开放。并且在您的JQL查询中,您应该添加issueFunction in linkedIssuesOf("Your_Linked_Filter_Name")

因此,您的JQL查询应该如下所示:项目 = NATMF 和 issuetype = 修复和 issuelinktype = 解决和 issueFunction in linkedIssuesOf("Your_Linked_Filter_Name")

注意:
您需要安装ScriptRunner插件才能使用issueFunction

英文:

You can create a filter for the linked issues named "Your_Linked_Filter_Name" : issuetype = Defect and status = open. And in your JQL Query you should add issueFunction in linkedIssuesOf("Your_Linked_Filter_Name").

So your JQL Query should be like that : project = NATMF and issuetype = Fix and issuelinktype = resolves and issueFunction in linkedIssuesOf("Your_Linked_Filter_Name")

NB :
You should have the ScriptRunner plugin to use issueFunction.

huangapple
  • 本文由 发表于 2023年6月29日 17:35:35
  • 转载请务必保留本文链接:https://go.coder-hub.com/76579836.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定