Watcher by Votes
This workflow automatically sets the Project Lead as a watcher when an issue receives a specific number of votes.
File Name | jetbrains-youtrack-watcherByVotes |
---|---|
Auto-attached | no |
Rules | Add project leader as watcher depending on number of votes (stateless) |
Use Case
This workflow helps you automatically raise the visibility of an issue when it receives a specific number of votes. You can customise this workflow to add other users as watchers or modify the number of votes.
Rules
When an issue receives ten votes, this rule automatically sets the Project Lead as a watcher for the issue.
Add project leader as watcher depending on number of votes
rule Add project leader as watcher depending on number of votes
when votes.changed && votes.oldValue == 9 && votes == 10 {
project.leader.watchIssue(issue);
}
Last modified: 7 March 2019