If you add a Subversion client for Eclipse to your Rational Team Concert™ installation,
you can link work items to Subversion revisions.
Before you begin
You must install a Subversion client for Eclipse in the
same Eclipse instance where you run the
Rational Team Concert client.
Supported Subversion clients include:
About this task
Rational Team Concert source
control includes
a Jazz SVN Connections view that you can use
to establish a connection between a Jazz™ repository and
a Subversion repository. This connection enables you to link any Subversion
revision to a work item, and to open a work item from the History
view of a Subversion client for Eclipse.
- To link a Jazz repository to
a Subversion repository:
- Open the Jazz SVN Connections view:
click . In the Show View dialog
box, expand Jazz Source Control and double-click Jazz
SVN Connections.
- Right-click a repository connection in the Jazz
SVN Connections view and click . Enter the URL
of your Subversion repository. This creates a connection
between the two repositories. A scheduled task running on the Jazz Team Server scans
the latest revisions in the Subversion repository and creates links
between revisions and work items. To request an immediate scan, right-click
a Subversion repository connection in the Jazz SVN Connections view
and click Update Links. After the scan is complete,
any links that the scan detected are added to work items, and the
label of the Subversion repository connection is updated to indicate
when the scan was completed.
- To link a Subversion revision to a work item.
- In the Eclipse Navigator view
(or any Eclipse view that supports Team operations),
right-click a Subversion project and click Properties.
- On the Jazz Work Items page,
select your Jazz repository from
the list, and click OK. This adds Subversion
bugtraq properties to the project, which support linkage with work
items. This addition results in an outgoing change to the project
(you might need to right-click the project and click or Refresh to
make the outgoing change visible in the IDE).
- Click to commit the change. The Subversion commit
dialog displays a field for the work item number. Enter a work item
number and click OK.
- To open a work item from the Subversion History view:
- In the Eclipse Navigator view
(or any Eclipse view that supports Team operations),
right-click the project and click . The
work item associated with the revision appears as the last line in
the comment.
- Adding a link from a revision to a work item does not
require that a reference to the work item appear in the revision comment.
From the context menu of a revision in the History view,
choose Associate Work Item to add the link
manually.
- To update work item links, right-click a repository connection
in the Jazz SVN Connections view and click Update
Links.