# Time Tracking

<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

![](/files/-MW-ikaw0EZBzpVdOgbg)

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.&#x20;

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>`.&#x20;

![Providing an 8 hour estimate to an issue](/files/-MW-lifxVhYJY7mFogqK)

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

![Issue updated based on time estimate](/files/-MW-stPbV9asyDNIy-DT)

### 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](/files/-MW-nHy-bHirV_3xtcmt)

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

![Issue updated based on time spent](/files/-MW-t859S152W7Ug_YoN)

### 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<br>

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](/files/-MW-ua1f4n6RPuP7lcas)

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

![](/files/-MW-uyWrf0BRI3T7Etxt)

### Milestones

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

![Milestone with attached issues that have time tracking](/files/-MW-vxe-G4xzZYii3D_w)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://community.peerplays.com/gitlab/time-tracking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
