YouTrack Cloud 2023.3 Help

Scrum

This workflow includes several rules that support the scrum framework for agile product development.

Name

@jetbrains/youtrack-workflow-scrum

Auto-attached

yes

Rules

  • Assign on move (on-change)

  • Block ideal days for epics (on-change)

  • Fix parent task when all subtasks are resolved (on-change)

  • Open parent task when any subtask is open (on-change)

  • Block story points for tasks (on-change)

Use Case

This workflow helps you automate and manage issues when you use a scrum framework for agile product development. The rules in this workflow help you manage assignees, ideal days, story points, subtasks, and sprints.

Rules

This workflow includes five different rules.

Title

Description

Assign on move

When the state of a reported issue is changed and not assigned, the Assignee is set to the currently logged-in user. This rule automatically assigns an issue to the user who moves a card, for example, from an Open state to the In Progress column on a scrum board.

Block ideal days for epics

This rule prevents users from setting ideal days for epics. Epics represent large features that contain multiple user stories and are usually delivered over a set of sprints. Ideal days are usually set for the tasks and not for epics.

When a user changes the value that is set for the Ideal days field for an issue that is assigned the Epic issue type, this rule checks the new value set for this field. If the Ideal days field is set to anything other than zero or empty, a warning is displayed. The change is rolled back to the previous value.

Fix parent task when all subtasks are resolved

This rule helps you manage the state of issues with subtasks (parent tasks). The rule automatically changes the state of a parent task when all subtasks are resolved.

When a reported issue is set to a resolved state, this rule checks the issue for parent tasks. If the issue is a subtask of a parent task, the rule checks the status of all other issues that are linked as subtasks to the parent issue. If all subtasks are set to a resolved state, the state of the parent task is set to Done. A notification is displayed.

The rule then performs the same operation if the parent task is a subtask of another issue.

Open parent task when any subtask is open

This rule helps you manage the state of issues with subtasks (parent tasks). The rule automatically re-opens a parent task when a subtask is set to an unresolved state.

When a reported issue is set to an unresolved state, this rule checks the issue for parent tasks. If the rule finds a parent task that does not belong to an archived project and is set to a resolved state, the state of the parent task is set to Open. A notification is displayed.

The rule then performs the same operation if the parent task is a subtask of another issue.

Block story points for tasks

This rule prevents users from setting story points for tasks. Story points are an arbitrary measure used by scrum teams to estimate the effort required to implement a user story. Story points are usually set for the user stories and not for tasks.

When an user changes the value that is set for the Story points field for an issue that is assigned the Task issue type, this rule checks the new value set for this field. If the Story points field is set to anything other than zero or empty, a warning is displayed. The change is rolled back to the previous value.

Last modified: 29 February 2024