TeamForge tools Plan and track anything Document your work Work on tasks Manage source code Discuss stuff Report on project activity Release products Contribute knowledge Build and test Run a project

Associate a tracker artifact with a code commit

When checking in files to your SCM repository, you can create links to one or more tracker artifacts or other CollabNet TeamForge items.

Associations track the links between code and the bugs, feature requests, or other tracker artifacts that the code addresses. You can also associate code commits with other CollabNet TeamForge items, such as tasks or documents.

A project administrator can make associations mandatory for all code commits.

with other CollabNet TeamForge items, such as tasks or documents.

A project administrator can make associations mandatory for all code commits.

You can create tracker artifact associations from whatever interface you normally use to check code into your SCM repository. You do not have to log into CollabNet TeamForge.

Use the same syntax for commits to CVS, Subversion, and Perforce repositories.

When making a code commit, add the associate command in the commit message like this: [<item id>], such as the TeamForgetracker artifact ID or task ID.
Note: To associate an object in an integrated application, use the [<prefix_objectid>] format. Each integrated application displays its prefix on moving the mouse over the application name.
Tip: To remind yourself of the details of the association later, look in the Change Log tab of the associated Artifact Details page.
Related actions
Associate a tracker artifact with a document, task, integrated application object, or forum
Associate a tracker artifact with a file release