bulkDeleteWorklogs
Bulk delete worklogs
Details
- Method:
DELETE - Path:
/rest/api/3/issue/{issueIdOrKey}/worklog - Operation ID:
bulkDeleteWorklogs
Parameters
{
"issueIdOrKey": {
"description": "The ID or key of the issue.",
"required": true,
"location": "path",
"type": "string"
},
"adjustEstimate": {
"description": "Defines how to update the issue's time estimate, the options are:\n\n * `leave` Leaves the estimate unchanged.\n * `auto` Reduces the estimate by the aggregate value of `timeSpent` across all worklogs being deleted.",
"required": false,
"location": "query",
"type": "string",
"enum": [
"leave",
"auto"
]
},
"overrideEditableFlag": {
"description": "Whether the work log entries should be removed to the issue even if the issue is not editable, because jira.issue.editable set to false or missing. For example, the issue is closed. Connect and Forge app users with admin permission can use this flag.",
"required": false,
"location": "query",
"type": "boolean"
}
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('bulkDeleteWorklogs', {
# Add required parameters here
})