JQL 查找拦截器的拦截器

时间:2021-06-30 15:52:17

标签: jira scrum jql

在我的公司,我们有两种链接类型:Sub shuffle_row(rng As Range, Optional Permutations = 2) Randomize a = rng.Rows(1) 'get values from row to array cnt = UBound(a, 2) For i = 1 To cnt * Permutations ' permutation loop x = Int(Rnd() * cnt + 1) 'formula = Int((upperbound - lowerbound + 1) * Rnd + lowerbound) y = Int(Rnd() * cnt + 1) If x <> y Then ' swap values at x and y positions Z = a(1, x): a(1, x) = a(1, y): a(1, y) = Z End If Next rng.Rows(1).Value = a 'output the modified series End Sub Sub UsageExample() For i = 0 To 4 shuffle_row Range("B1:P1").Offset(i), Permutations:=3 Next End Sub BLOCKS。我们的状态也为 IS BLOCKED BY

假设有三个问题:问题 A问题 B问题 C

IMPEDED - 状态为 Issue A,链接到 IMPEDED,链接类型为 Issue B

IS BLOCKED BY - 状态为 Issue B,链接到 IMPEDED 的链接类型为 Issue A,链接到 BLOCKS 的链接类型为 {{1 }}。

Issue C - 状态为 IS BLOCKED BY,具有指向 Issue C 的链接,链接类型为 READY

所以基本上,我们不能在 A 上工作,直到 B 完成。在 C 完成之前,我们无法处理 B。所以我们必须先完成Issue B

我希望能够运行将返回 BLOCKS 的 JQL 查询。换句话说,我想找到阻碍其他问题的问题。

这与树上的深度优先搜索非常相似。问题是我不知道如何在 JQL 中做到这一点。

有人有什么想法吗?

0 个答案:

没有答案
相关问题