Processing Subversion commits via Plugin
Subversion plugin can be used to update entities in TargetProcess. You can update entity states and time spent/remaining as you enter comments when doing an SVN commit.
To set up the SVN plugin, go to Settings → Plugins, and add a new Subversion Integration profile:
Then, you need to map SVN users and TargetProcess users:
As soon as the profile is created, TargetProcess will import SVN revisions starting from the revision # you’ve specified. This can take several minutes.
You can track the import status in the log:
Now, as you do an SVN commit, just add a comment in any of these formats:
- Change defect states:
#ID (or id:ID) state:fixed
- Add comments to defect:
#ID (or id:ID) comment: text of your comment here
- Add time spent only:
#ID (or id:ID) time:1
- Update time spent and time remaining:
#ID (or id:ID) time:1:12
- Update several defects at a time:
#ID (or id:ID), #ID (or id:ID) comment: will not be fixed state: invalid time:0.5
Make sure you enter the commit messages as shown above. Neither comments, nor time entries, nor states will update if the format is incorrect. Special words like comment or state are case sensitive, so you cannot use "Comment:" starting with capital "C" in your commit message.
Multi-line comments are not supported at the moment.
In this example, as soon as the commit is done, the status of the entity with ID=266 will be changed to Done, and the comment "Should be included to the current release," spent time = 1 hour and remaining time = 2 hours will be added to the entity.
You can see all the updates from Subversion in the Source tab:
For more details on the changes, just click the Diff link:
Make sure you enter comments in the correct format as shown above. Neither comments, nor time entries, nor the states will update if the format is incorrect.
Still have a question?
We're here to help! Just contact our friendly support team