2017-05-30 84 views
0

我創建了一個新的郵箱集成,它在我的項目中創建新問題。 我想,以避免重複的問題,是這樣的:刪除重複標題問題(或更改其狀態)

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

我注意到Youtrack自動設置了一個類似標題和描述爲related to現有的新問題。
所以我創建了一個新規則

rule Delete duplicates in Board 

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