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 link a commit to a ticket, you can use the format
To close a ticket, you can use the format
The full list of words and format can be found on Trac's documentation.
If you're using the timing and estimation plugin, you can add hours to a ticket. 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
Feel free to contact us if you need any assistance.