删除重复标题的问题(或更改其状态)

时间:2017-05-30 12:05:19

标签: javascript youtrack

我创建了一个新的邮箱集成,它在我的项目中创建了新的问题。 我想避免重复的问题,例如:

rule Delete duplicate issues after being added automatically with a To check State

when State == {To check} {
 //check all issues in the Project
 //check if there is an issue with the same Title {
  State = Archived; // or delete the Issue
 }
}

有可能吗?

1 个答案:

答案 0 :(得分:1)

我注意到Youtrack会自动设置一个新问题,其标题和说明与现有问题的related to类似。
所以我创建了一个新规则

rule Delete duplicates in Board

when Stage == {To Check} && issue == relates to {
 applyCommand("delete");
}