add_time_spent
Log time spent on GitLab issues to track work hours and maintain accurate project time records. Specify duration, project, and issue details for precise time tracking.
Instructions
Add time spent on an issue
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or URL-encoded path | |
| issue_iid | Yes | The internal ID of the issue | |
| duration | Yes | The duration in GitLab format (e.g., '3h 30m') | |
| spent_at | No | The date the time was spent (YYYY-MM-DD) | |
| summary | No | A short description of the time spent |
Input Schema (JSON Schema)
{
"properties": {
"duration": {
"description": "The duration in GitLab format (e.g., '3h 30m')",
"type": "string"
},
"issue_iid": {
"description": "The internal ID of the issue",
"type": "number"
},
"project_id": {
"description": "Project ID or URL-encoded path",
"type": "string"
},
"spent_at": {
"description": "The date the time was spent (YYYY-MM-DD)",
"type": "string"
},
"summary": {
"description": "A short description of the time spent",
"type": "string"
}
},
"required": [
"project_id",
"issue_iid",
"duration"
],
"type": "object"
}