RTC and SVN work item validation
We have RTC linked to Subverion Revisions. We have realised that it is possible to link an SVN revision to a non existant RTC work item during the commit stage. Is there a way to possibly run some pre-commit hooks thats will/can check to see if the work item exists and belongs to the user performing the commit action?
RTC 2.0.0.2. Tested on Windows and Linux. :!:
RTC 2.0.0.2. Tested on Windows and Linux. :!:
3 answers
The Eclipse Subversion clients do not support this type of validation.
However, it would be possible to write a server-side validation script
that would fail the commit if the work item wasn't valid. The article
http://jazz.net/library/article/194 describes how this could be done
with GIT but it should be possible to do for Subversion as well.
Michael
jem290 wrote:
However, it would be possible to write a server-side validation script
that would fail the commit if the work item wasn't valid. The article
http://jazz.net/library/article/194 describes how this could be done
with GIT but it should be possible to do for Subversion as well.
Michael
jem290 wrote:
We have RTC linked to Subverion Revisions. We have realised that it is
possible to link an SVN revision to a non existant RTC work item
during the commit stage. Is there a way to possibly run some
pre-commit hooks thats will/can check to see if the work item exists
and belongs to the user performing the commit action?
RTC 2.0.0.2. Tested on Windows and Linux. :!: