Create worklog
Access: JIRA_URL/rest/jttp-rest/4/public/worklog
POST method
{
"comment": "teszt",
"date": "21/May/24",
"durationTime": "1h",
"issueKeys": ["SAM-1"],
"onBehalfOfUser": "JIRAUSER10100",
"startTimeValue": "09:00 AM",
"worklogCategories": ["Dev","HR"]
}
Válasz worklog ID lista [10200]
Update worklog
Access: JIRA_URL/rest/jttp-rest/4/public/worklog/{worklogId}
PUT method
{
"comment": "teszt",
"date": "21/May/24",
"durationTime": "1h",
"issueKeys": ["SAM-1"],
"onBehalfOfUser": "",
"startTimeValue": "09:00 AM",
"worklogCategories": ["Dev","HR"]
}
Válasz azonos a Get lekérdezésével
Get worklog
Access: JIRA_URL/rest/jttp-rest/4/public/worklog/{worklogId}
GET method
Válasz:
{
"dateISOFormat": "2024-05-14T10:00:00Z",
"issueKey": "SAM-1",
"timeSpentInSec": 7200,
"worklogAuthorKey": "JIRAUSER10000",
"worklogCategories": [
"Dev",
"Test"
],
"worklogDescription": "Updated Worklog",
"worklogId": 10200
}
Delete worklog
Access: JIRA_URL/rest/jttp-rest/4/public/worklog/{worklogId}
DELETE method
Válasz 200 ha sikerül. Egykbéként ki adja mi baja.