getIdsOfWorklogsModifiedSince
Get IDs of updated worklogs
Details
- Method:
GET - Path:
/rest/api/3/worklog/updated - Operation ID:
getIdsOfWorklogsModifiedSince
Parameters
{
"since": {
"description": "The date and time, as a UNIX timestamp in milliseconds, after which updated worklogs are returned.",
"required": false,
"location": "query",
"type": "integer",
"format": "int64"
},
"expand": {
"description": "Use [expand](#expansion) to include additional information about worklogs in the response. This parameter accepts `properties` that returns the properties of each worklog.",
"required": false,
"location": "query",
"type": "string"
}
}Response Schema
{
"additionalProperties": false,
"description": "List of changed worklogs.",
"properties": {
"lastPage": {
"type": "boolean"
},
"nextPage": {
"description": "The URL of the next list of changed worklogs.",
"format": "uri",
"readOnly": true,
"type": "string"
},
"self": {
"description": "The URL of this changed worklogs list.",
"format": "uri",
"readOnly": true,
"type": "string"
},
"since": {
"description": "The datetime of the first worklog item in the list.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"until": {
"description": "The datetime of the last worklog item in the list.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"values": {
"description": "Changed worklog list.",
"items": {
"additionalProperties": false,
"description": "Details of a changed worklog.",
"properties": {
"properties": {
"description": "Details of properties associated with the change.",
"items": {
"additionalProperties": false,
"description": "An entity property, for more information see [Entity properties](https://developer.atlassian.com/cloud/jira/platform/jira-entity-properties/).",
"properties": {
"key": {
"description": "The key of the property. Required on create and update.",
"type": "string"
},
"value": {
"description": "The value of the property. Required on create and update."
}
},
"type": "object"
},
"readOnly": true,
"type": "array"
},
"updatedTime": {
"description": "The datetime of the change.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"worklogId": {
"description": "The ID of the worklog.",
"format": "int64",
"readOnly": true,
"type": "integer"
}
},
"type": "object"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('getIdsOfWorklogsModifiedSince', {
# Add required parameters here
})