Time Tracking

How to use GitLab quick actions for estimates, time spent and weights on issues.

https://docs.gitlab.com/ee/user/project/quick_actions.html

Quick actions are text-based shortcuts for common actions that are usually done by selecting buttons or dropdowns in the GitLab user interface. You can enter these commands in the descriptions or comments of issues, epics, merge requests, and commits.

Be sure to enter each quick action on a separate line to allow GitLab to properly detect and execute the commands.

Selecting an Issue

  1. Navigate to the project of choice in GitLab.

  2. Click on the issues menu option

3. Select the issue of choice.

Time Tracking

Lead developers who will assign issues should make sure to provide a time estimate and weight to them. They should also ensure these issues are attached to the appropriate milestones and epics.

The purpose of this is to collect metrics and be able to provide a better timeline for project delivery.

Estimates

To estimate an issue in GitLab, quick actions can be utilized. Inside the comment section of an issue type the following command: /estimate <1w 3d 2h 14m>.

Providing an 8 hour estimate to an issue

Once an estimation is provided, the issue will update to reflect the submitted comment.

Issue updated based on time estimate

Spent Time

To track the time spent on an issue in GitLab, quick actions can be utilized. Inside the comment section of an issue type the following command: /spend <time(1h30m|-1h30m)> <date(YYYY-MM-DD)> to add or subtract spent time.

Providing a 2 hour time spend

Once the spent time is provided, the issue will update to reflect the submitted comment.

Issue updated based on time spent

Weight

When you have a lot of issues, it can be hard to get an overview. By adding weight to each issue, you can get a better idea of how much time, value or complexity a given issue has or costs.

Weight points can be associated for the following task sizes:

  • Extra Small (8h or less) - 1

  • Small (9h - 16h) - 2

  • Medium (17h - 24h) - 3

  • Large (25h - 40h ) - 5

  • Extra Large (greater than 40h) - 8

To add weight to an issue in GitLab, quick actions can be utilized. Inside the comment section of an issue type the following command: /weight 0, 1, 2....

Providing 8 points to weight

Once the weight is provided, the issue will update to reflect the submitted comment.

Milestones

Utilizing time tracking on issues and attaching them to milestones also updates the time tracking of that milestone for all issues attached.

Milestone with attached issues that have time tracking