YouTrack Cloud 2022.3 Help

Subtask Inherit Subsystem

This workflow automatically updates the subsystem of a subtask to the subsystem set for a parent task.

Name

@jetbrains/youtrack-workflow-subtask-inherit-subsystem

Auto-attached

no

Rules

  • Copy subsystem from parent task when issue is linked as a subtask (on-change)

  • Set subsystem for subtasks when subsystem is set in parent task (on-change)

Use Case

This workflow helps you manage the subsystem set for tasks and subtasks.

Rules

This workflow includes two rules.

Title

Description

Copy subsystem from parent task when issue is linked as a subtask

This rule checks a subtask when it is linked to a parent task.

  • If the subtask belongs to a different project from the parent task and the projects use different sets of values for the Subsystem field, the subsystem is set for the parent task only.

  • If the subtask and parent task belong to the same project, the subsystem assigned to the parent task is set as the subsystem for any unresolved subtasks.

Set subsystem for subtasks when subsystem is set in parent task

This rule checks for subtasks when a subsystem is set for an issue.

  • If the subtasks are in an archived project or belong to a different project from the parent issue and the projects use different sets of values for the Subsystem field, the subsystem is set for the parent task only.

  • If the subtasks are in an active project and belong to the same project as the parent task, the subsystem for each unresolved subtask is set to the subsystem set for the parent task.

Last modified: 29 November 2022