To be able to link commits in your source control with various artifacts, both the artifact and repository need to be in the same project
To link a commit change with an artifact, all you have to do is add the
#<id> of the artifact in your commit message. The
of the artifact can be found in various places.
For example, to link your change to task
#3, all that is needed is
#3 to your commit message.
The commit change should be displayed under the Commits tab of your story or bug.
There are two actions that are supported:
#<id>somewhere in your commit message.
Move image to footer. Closes #29or
Fixed #40 - add a synchronised block
#<id> add <hours>h
Managed to get the form working again, #21 add 1.5h
You can combine the two above to close and add hours to artifacts
Use red for the background. Closes #49 add 0.3h will close artifact
#49 and add
0.3 hours to
#<id>of the affected artifacts in the same commit message. For example,
did some changes to #45 #22 #99will add the commit message to artifacts
#<id>of the artifacts in a row. For example,
Closes #45 #22 #99will close artifacts
You need to tell Git to use your XP-Dev.com username:
$ cd /path/to/repository $ git config user.name "my.xp-dev.com.username"
Or to specify it globally:
$ git config --global user.name "my.xp-dev.com.username"
You need to tell Mercurial to use your XP-Dev.com username.
To do this, edit your
hgrc file and specify under the
[ui] username = xp-dev.com.username
For e.g. if your XP-Dev.com is
bobthedeveloper then you should
[ui] username = bobthedeveloper
To be able to use smart commit messages on Trac projects, you will need to either use the Timing and Estimation or Agilo plugin
The following comments will work to reference tickets and add hours:
Blah refs #12 (1)will add 1h to the spent time for issue
Blah refs #12 (spent 1.5)will add 1.5h to the spent time for issue
The following comment will work to reference tickets and change remaining hours:
This closes #34 and #35 and remaining #5:4h. See #43 for more details.
This will perform the following:
#35, Agilo will check the following to allow to close the tickets:
#5to 4h, checking that the owner of the ticket is the same as the committer
#43that will be marked also in the destination ticket, linking it to the current committed changeset.
Feel free to contact us if you need any assistance.