Time Tracking
get_time_trackingRetrieve time estimate, time spent, and timelog entries for a GitLab issue or merge request.
Instructions
Get time tracking data (estimate, spent, timelogs) for an issue or merge request
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iid | Yes | Issue or merge request IID | |
| after | No | Pagination cursor. To fetch the next page, pass the previous response pageInfo.endCursor here and repeat until pageInfo.hasNextPage is false. Paginating this way is the reliable path to complete results and accurate totals. | |
| first | No | Number of timelog entries to retrieve | |
| projectPath | Yes | Full path of the project (e.g., "group/project-name") | |
| resourceType | Yes | Type of resource to get time tracking for | |
| includeTimelogs | No | Whether to include individual timelog entries | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |