Kanban
This workflow manages the Kanban state of an issue when it is moved from one stage to the next.
File Name | jetbrains-youtrack-kanban |
---|---|
Auto-attached | no |
Rules | Allow moving Ready to Pull tasks only (stateless) |
Use Case
This workflow helps you manage the Kanban state of an issue.
Rules
When a reported issue is moved from one stage to the next, this rule checks the value in the Kanban State field. If the Kanban State is not set to Ready to pull, a warning is displayed. The change is reverted.
If the Kanban State is set to Ready to pull, the Kanban State is set to Blocked when the issue is moved to the next stage.
Allow moving Ready to Pull tasks only
rule Allow moving Ready to Pull tasks only
when issue.isReported() && issue.Stage.changed {
assert issue.Kanban State == {Ready to pull}: l10n ( The issue is not ready to be pulled );
issue.Kanban State = {Blocked};
}
Last modified: 18 April 2017