jira_add_worklog
Track time spent on JIRA issues by adding worklog entries with issue keys, time spent, comments, and timestamps directly via the JIRA MCP Server integration.
Instructions
Add a worklog entry to track time spent on an issue
Input Schema
Name | Required | Description | Default |
---|---|---|---|
comment | No | ||
issueKey | Yes | ||
started | No | ||
timeSpent | Yes | ||
visibility | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"comment": {
"maxLength": 32767,
"type": "string"
},
"issueKey": {
"pattern": "^[A-Z]+-\\d+$",
"type": "string"
},
"started": {
"format": "date-time",
"type": "string"
},
"timeSpent": {
"minLength": 1,
"pattern": "^\\d+[wdhm]$",
"type": "string"
},
"visibility": {
"additionalProperties": false,
"properties": {
"type": {
"enum": [
"group",
"role"
],
"type": "string"
},
"value": {
"minLength": 1,
"type": "string"
}
},
"required": [
"type",
"value"
],
"type": "object"
}
},
"required": [
"issueKey",
"timeSpent"
],
"type": "object"
}