Processing Subversion commits via Plugin | Targetprocess - Visual management software

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:

Processing Subversion commits via Plugin. Image 1

Then, you need to map SVN users and TargetProcess users:

Processing Subversion commits via Plugin. Image 2

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:

Processing Subversion commits via Plugin. Image 3

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.

Processing Subversion commits via Plugin. Image 4

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:

Source-tab

For more details on the changes, just click the Diff link:

Processing Subversion commits via Plugin. Image 6

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

Find out more about our APIs, Plugins, Mashups and custom extensions. Join our community of passionate users and even discuss directly with our developers.