Format
Syntax
Purpose
#workitem
Represents the work item ID.
#comment
Add comment for the work item.
#status
Update the status of the work item.
#priority
Update the priority of the work item.
#time
Add log hours for the work item.
|
#<Project Prefix>- <i/I><Item number>
Example: #SP-i30
|
|
#workitemid #comment <message1> #comment <message2>
Example: #SP-I15 #comment Please share the final build by EOD. #comment Fix the existing issues and update the local build.
Note:
You can add multiple comments to a single work item.
|
|
#workitemid #status <status_name>
Example 1: #SP-i20 #status Done
Example 2: #SP-i20 #status To_be_Tested
Note:
1. If the status name carries multiple words, separate them with an underscore.
2. Statuses are not case sensitive.
|
|
#workitemid #priority <priority_name>
Example 1: #SP-i40 #priority Critical
Example 2: #SP-i42 #priority Should_be
Note:
1. If the priority name carries multiple words, separate them with an underscore.
2. Priorities are not case sensitive.
|
|
#workitemid #time <hours>h <minutes>m
Example: #SP-I52 #time 5h 30m
|
-
The email address of the GitLab user should be registered with the Zoho Sprints team only then they can process the commits: #comment, #time, #status, and #priority.
Advanced commands
Single command for multiple work items
Syntax
#workitemid,#workitemid,#workitemid #comment <message>
Example
#SM-I25,#SM-I42,#SM-I98 #comment Issues are resolved and updated in the local build.
What happens?
All the three work items are added with the comment.
Multiple commands for single work item
Syntax
#workitemid #comment <message> #priority <priority_name> #time < > h < > m #status <status_name>
Example
#SM-I34 #comment List out the requirements #priority High #time 5h 3m #status In_progress
What happens?
The work item is added with comment and log hours. It is also updated with status and priority.
Multiple commands for multiple work items
Syntax
#workitemid,#workitemid,#workitemid #comment <message> #priority <priority_name> #time <>h <>m #status <status_name>
Example
#SM-I34, #SM-I45, #SM-I54 #comment List out the requirements #priority High #time 5h 3m #status In_progress
What happens?
All the three work items are added with comments, log hours and updated with status and priority.
Attach commits from work item details section
-
Go to the work item details page.
-
Select GitLab from the tabs.
-
Click Attach Commit.
-
Enter the required details. * All the fields are mandatory.
-
Click Attach.
Attach pull requests from work item details section
-
Go to the work item details page.
-
Select GitLab from the tabs.
-
Click Attach Pull Request.
-
Enter the required details. * All the fields are mandatory.
-
Click Attach.
When you attach a commit via GitLab or from the work item details page, we trigger a feed message and notification to the work item assignees.
How to copy the work item ID?
It becomes daunting when you specify the project prefix and ID manually. You can just copy the work item ID from the work item details page and paste it in your commit messages and pull request comment.
Delete commits and pull request
You can delete the commit and pull request directly from the work item details page. Hover over the attached commit and pull request and click
.
Access for commands
Adding comments
-
You must be an active user in the project to tag comments to work items in your commits.
-
Anyone can add comments to the work items in the backlog.
-
You must be a part of the sprint and have the work item assigned to you before you can add comments to it.
-
You can also add comments for unassigned work items.