YouTrack Standalone 2018.2 Help

View and Edit VCS Changes

The activity stream shows a list of VCS commits or other VCS updates that are associated with the current issue. These events are visible when the VCS changes filter is enabled. This information is only available when the project is integrated with TeamCity, Upsource, or a VCS repository. If the visibility setting for the integration is restricted to one or more groups, you only see the VCS changes if you are a member of one of the specified groups.

VCS changes are added to issues automatically when the issue is mentioned or a command is applied to an issue in a VCS commit message. Use this information to track the changes in your code base that are related to each issue.

vcs changes activity stream

VCS Commits

The following information is displayed for VCS commits that reference the current issue. VCS commits can be processed by YouTrack from TeamCity, Upsource, or a VCS integration.

  • The name of the user who committed the changes to the code repository.

  • The date and time when the commit was fetched from the repository.

  • The commit message that was entered for the VCS change.

When you move the pointer over a VCS change, additional actions are shown:

Action

Description

View commit

This control shows the abbreviated commit hash that is associated with the VCS change. Click the hash to view the change details in the connected resource. When VCS changes are recorded in more than one resource, click the down arrow and choose the resource that you want to open.

View additional info

Move the pointer over the info icon to see additional details. This action is shown for VCS changes that were added manually or contain errors.

Detach

Removes the VCS change from the current issue. When the commit message contains the issue ID, the VCS change is detached but remains visible in the activity stream in a dimmed state.

Move

Opens the Move Change dialog. Enter the ID of the target issue and click the Move button to confirm the action.

VCS commits that contain errors are highlighted on the page.

  • If the VCS user that pushed the changes to the repository cannot be matched to a YouTrack user account, the user name is shown in red text. The warning tooltip provides instructions that you can follow to resolve the problem.

  • If the commit message includes a command that could not be applied to the issue, the command is shown in red text. The warning tooltip shows which part of the command was not recognized.

Add Commits Manually

The activity stream automatically displays changes that mention an issue or apply a command to an issue in the VCS commit message. If there are changes that are related to an issue that were not added to the list of VCS changes automatically, you can add them manually.

To add a commit manually:

  1. Open the issue in single issue view.

  2. Click the Add commit link below the input field for comments.
    add commit manually
    • The input field for comments is replaced with the Commit field.

  3. Enter or paste the hash for the commit in the VCS repository.

    add commit

  4. Click the Add commit button.
    • The revision is added to the list of VCS changes.

Last modified: 7 March 2019

See Also