четверг, 1 августа 2013 г.

Smart commits with JIRA + BitBucket

The commands

There are three commands you can use in your commit message.

time Command
ISSUE_KEY #time <value>w <value>d <value>h <value>m  <comment_string> 
Records time tracking information against an issue.  The value must be a whole number. For example:
JRA-34 #time 1w 2d 4h 30m Total work logged
This example records 1 week, 2 days, 4hours and 30 minutes against an issue, and adds the comment 'Total work logged' in the Work Log tab of the issue.
Icon
For this command to work, your system administrator must have enabled time tracking on your JIRA instance.