问题描述
在我的公司,我们有两种链接类型: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 中做到这一点。
有人有什么想法吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)