Associate work items with commits

Updated at:

This topic explains how to associate work items, such as requirements, tasks, and defects, with commits. The process is demonstrated using a task as an example.

Associate a work item with a commit

To associate an Alibaba Cloud DevOps work item with a commit, include #ID in the commit message.

Alternatively, if you commit from the web interface, click the Associate Work Item button.

View associated commits

For more information, see Associate a work item with a repository.

On the work item details page, click the Others tab. The Code section lists the associated commits, including their commit message, commit ID, and commit date.