Create associations with code that is already committed

At any time after a code commit is made, you can associate the code commit with other CollabNet TeamForge items, such as tasks, integrated application objects or documents.

  1. Click SOURCE CODE in the project navigation bar.
  2. On The list of project repositories, select the repository containing the code commit with which you want to create an association.
  3. Click View Commits.
  4. On the Repository Details page, click the name of the commit with which you want to create an association.
  5. On the Commit Details page, click the ASSOCIATIONS tab.
  6. On the list of existing associations, click Add.
  7. In the Add Association Wizard window, select the items with which you want to associate the artifact:
    • ENTER ITEM ID - If you know the item's ID, you can enter it directly.
      Note:
      • To associate an object in an integrated application from within TeamForge, use the [<prefix_objectid>] format. Successful associations appear hyperlinked.
      • Each integrated application displays its prefix on moving the mouse over the application name in the tool bar.
    • ADD FROM RECENTLY VIEWED - Select one of the last ten items you looked at during this session.
    • ADD FROM RECENTLY EDITED - Select one of the last ten items you changed.
  8. Click Next.
  9. You may add a comment in the ASSOCIATION COMMENT text box.
  10. Save your work.
    • Click Finish and Add Another to add additional associations.
    • Click Finish to return to the Details page.