Question about RTC + SVN integration
By spending time of days, I integrated RTC and SVN in two ways.
1. Importing the svn dump file to RTC - this one is good. I had no question on it so far. 2. Linking work items to Subversion repositories I can associate a rtc work item with a revision of svn file. And I see there is a link of this revision in the rtc work item. Looks like I don't have to create linkage between SVN repositories and RTC connection. So My question for #2 is 1) Since I can associate a RTC work item for SVN file revision without the connection between svn and rtc, why do we need svn linkage with RTC connection? What is all about? What can we do if having this linkage? In Help, it says that "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." Will it scan all svn file revisions which do not associate rtc work item and create link for those revision in specified RTC work item automatically? 2) When I do this - "To request an immediate scan, right-click a Subversion repository connection in the Jazz SVN Connections view and click Update Links.", I was always failed for jazz server trying to scan SVN server. I was prompted with "SVN: Authentication required for "SVN URL" Subversion repositories ". I am wondering that where to set the svn authentication information in RTC. I found there is SVN component setting in RTC admin Web - com.ibm.team.scm.svn.service.internal.tasks.SvnUpdateLinksTask, so I changed the user to svn user, rtc user, but always failed for the link update. 3) in Help, there is "After the scan is complete, any links that the scan detected are added to work items, ". what does "the links" here refer to? When I associated work item with SVN file version, I already had the link in the work item, why do we need to add the link to work item one more time?? Please ADVISE! |
One answer
I wil try and answer your questions
1) The purpose of the link is indeed to have the ability to update the links automatically. This is done by scanning the commit comments for a particular pattern (e.g. "Work Item 12345") and creating links for any found work items. 2) You have hit the issue covered by the work item https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/58765. 3) As mentioned in answer 1, it looks for links that appear in the commit comments that are not yet known to RTC. Hope this helps, Michael XiaMing wrote: By spending time of days, I integrated RTC and SVN in two ways. |
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.