JIRA JQL:按阻止状态为卡片着色 [英] JIRA JQL: coloring cards by blocked status

查看:110
本文介绍了JIRA JQL:按阻止状态为卡片着色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用JIRA Agile的卡片颜色"功能以及ScriptRunner插件来为JIRA敏捷板上的被阻止的卡片着色.

I'm trying to use the "Card colors" feature of JIRA Agile, plus the ScriptRunner plugin, to color blocked cards on a JIRA agile board.

我对已阻止"的定义是:票证具有已阻止"字段的值,或者以被阻止"关系链接到未解决的票证.

My definition of "blocked" is: ticket has a value for the "Blocked" field or is linked to an unresolved ticket in a "is blocked by" relationship.

我能做的最好的是以下JQL:

The best I can do is the following JQL:

(Blocked is not EMPTY) OR issueFunction in hasLinks("is blocked by")

这将查找具有已阻止"字段值的票证,并以被阻止者"关系链接到另一票证的票证,但如果所有链接的阻止程序都得到解决,它将仍然为卡着色.

This finds tickets that have a value for the "Blocked" field, and tickets that are linked to another ticket in a "is blocked by" relationship, but it will still color the card if all linked blockers are resolved.

有什么办法只能找到链接到未解决的阻止者的票证吗?

Is there any way to only find tickets linked to unresolved blockers?

我查看了 ScriptRunner文档,但找不到找到任何东西.

I looked in the ScriptRunner docs but couldn't find anything.

推荐答案

您可以采用另一种方法:查找所有标记为阻止者且未设置解决方案的链接问题.

You can do this the other way around: Find all linked issues that are marked as being a blocker and have no resolution set.

查找所有带有未解决的阻止者的未解决票证的示例:

Example to find all unresolved tickets with unresolved blockers:

issueFunction in linkedIssuesOf("resolution is EMPTY", "blocks") and resolution is EMPTY

这篇关于JIRA JQL:按阻止状态为卡片着色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆