It's all about the answers!

Ask a question

RTC / Subversion Integration


john norris (20733844) | asked Jul 13 '09, 6:20 a.m.
I would just like to make sure I have understood the above and what it achieves.
After many problems with subversion and subclipse, I have at last got the integration to work.
Basically, RTC adds the bugtrac properties to the root directory. This allows subclipse/tortoise/any client to add a work item field to a commit form.
User types in RTC work item to field.
The work item in RTC does NOT show a set of changes that were made for that work item.
Using tortoise, I can of course open the log messages dialog and see the message for the revision (work item xx) and the changes there. But not with RTC.
Is this the integration? Or am I missing something?

Accepted answer


permanent link
Michael Valenta (3.7k3) | answered Jul 16 '09, 10:37 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
The problem is that the Eclipse based Subversion clients don't support
callbacks from their commits so we have no opportunity to add a link to
the work item. As was indicated in another post, there is a way to
configure a task on the server to "mine" for work item numbers in
comments or you can run the task from your client. To set this up, open
the Jazz SVN Connections view and add a link from the RTC server to your
SVN server. One added, there is an Update Links action of the SVN servwr
entry that you can run.

Another possibility is to add script hooks to your server to add the
links when a commit is performed. The article at
http://jazz.net/library/article/194 provides sample scripts to work with
Git but it should be fairly straight forward to tailor them to Subversion.

Michael

norricorp wrote:
From the lack of replies, I guess that not many people are using the
subversion integration.
From what I have seen the integration is very basic and
"integration" is overselling the releationship between the
two products.
So if anyone has used it, I would be interested in another opinion.
Ralph Schoon selected this answer as the correct answer

7 other answers



permanent link
john norris (20733844) | answered Jul 15 '09, 12:13 p.m.
From the lack of replies, I guess that not many people are using the subversion integration.
From what I have seen the integration is very basic and "integration" is overselling the releationship between the two products.
So if anyone has used it, I would be interested in another opinion.

permanent link
Jean-Michel Lemieux (2.5k11) | answered Jul 15 '09, 5:11 p.m.
JAZZ DEVELOPER
There is a server process which runs and must be configured that will create the links between the SVN revisions and the RTC Work Items. If this isn't happening, I'd open a defect so that we can investigate.
Cheers,
Jean-Michel

permanent link
john norris (20733844) | answered Jul 21 '09, 12:43 p.m.
Jean-Michel,

thank you for your reply and apologies for my tardy response. You mention a server process - do you mean the section in "Linking work items to Subversion repositories" - "Right-click a repository connection in the Jazz SVN Connections view and click New > SVN Connection. 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."

permanent link
Michael Valenta (3.7k3) | answered Jul 21 '09, 4:16 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Yes, that's what Jean-Michel was referring to.

Michael

norricorp wrote:
Jean-Michel,

thank you for your reply and apologies for my tardy response. You
mention a server process - do you mean the section in "Linking
work items to Subversion repositories" - "Right-click a
repository connection in the Jazz SVN Connections view and click New
SVN Connection. 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."

permanent link
john norris (20733844) | answered Jul 22 '09, 3:20 a.m.
OK - I have now reread the manual section and Updated the link and it is much better. A history window showing each revision (I assume that is part of subclipse) and a link in the work item to say which revisions apply to this.
My fault - I did not realise the importance of regular "Update Links" (though if the manual had shown screenshots of what to look for that would have been useful).
many thanks for your help.

permanent link
Albert Yao (5411322) | answered Apr 13 '14, 12:04 p.m.
I have encountered the same problem: the SVN reversion URL link does not show in the work item editor presentation of RTC.

permanent link
Ashok Sonawane (9913) | answered Aug 27 '15, 1:48 a.m.
 I was trying to integrate RTC 5.0.2 with SVN 1.9.X
I have installed RTC & SVN in same machine,

as suggested in the below link,
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.svn.doc/topics/c_intro.html&scope=null


When i click on update link below error show
ERROR-
Problem occurred running linking svn revision to work item.
Reason.
Reason.
   The scan for revision from the server failed and there is no local client available  to run the scan:svn




So can you pls help me to solve this issue....

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.