YouTrack Server 2023.3 Help

Update Fixed in Build

This workflow automates several use cases for the Fixed in build field.

Name

@jetbrains/youtrack-workflow-update-fix-build

Previous Title

Update Fixed in Build

Auto-attached

yes

Rules

  • Clear fixed in build when issue changes to an unresolved state (on-change)

  • Copy fixed in build to duplicate issues (on-change)

  • Set fixed in build for duplicate issues (on-change)

Use Case

When an issue is re-opened, any value in the Fixed in build field is removed.

Rules

This workflow includes three modules.

Title

Description

Clear fixed in build when issue changes to an unresolved state

When an issue is updated, this rule checks that issue is reported (not a draft) and the state is set to an unresolved value (for example, Open, In Progress, or Reopened) and that the previous state was set to a resolved value (for example, Fixed, Duplicate, or Incomplete). If true, the value is removed from the Fixed in build field.

Copy fixed in build to duplicate issues

This rule checks an issue when the state is set to Duplicate. If any duplicated issues have already been resolved and have a value in the Fixed in build field, the Fixed in build field for the duplicated issue is set to the value from the same field in all issues it duplicates.

When an issue is updated, the rule checks if the state is set to Duplicate and the list of linked issues with duplicates links is not empty.

If true, the rule checks each issue in the duplicates list to determine whether the duplicated issue and the duplicate (current issue) belong to the same project, and the Fixed in build field of the duplicated issue is not empty.

If true, the value from the Fixed in build field for each duplicated issue is set to the value for the current issue.

Set fixed in build for duplicate issues

This rule checks when an issue update contains a value for the Fixed in build field. If true, for each issue in the list of linked issues with is duplicated by links, this rule checks that both duplicate and duplicated (current) issues belong to the same project. If true, the Fixed in build value that is set for the current issue is applied to all duplicate issues.

Last modified: 22 March 2024