Linking a commit to an existing change request through the Gerrit web interface

You can link a commit to a Rational Team Concert™ change request from the Gerrit web interface

Procedure

Use these steps to link a Gerrit change to a Rational Team Concert change request (work item) from the Gerrit web interface.

  1. Start at a Gerrit web home page.
  2. From a Gerrit web change page, open the twistie next to Work Item Links,
  3. Create a new change request in Rational Team Concert by clicking Add Link in the expanded Work Item Links section. The Link Change Request dialog is displayed.
  4. Select Link to Existing and specify values for the dialog fields. Click OK. This creates a change request in Rational Team Concert and links it to the Gerrit change page.

    screen shot of Gitweb with Rational Adapter for Git installed and Add Link dialog open to show Link to Existing fields.

  5. When you expand the Work Item Links twisty on the Gerrit change page, the new link is listed.
  6. Click the list item to go to the Rational Team Concert page for the change request.
  7. Click the Links tab there to see the link back to the Gerrit change page. You can traverse to the Gerrit change page by clicking on the link.

Feedback