PUT /rest/api/3/issue/{issueIdOrKey}/worklog/{id}
This worklog update REST API doesn’t work as documented when I passed properties
.
Ref: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklogs/#api-rest-api-3-issue-issueidorkey-worklog-id-put
How to repdroduce:
- Make a request with key
properties
and json value - List property keys with
/rest/api/3/issue/<issue-id>/worklog/<worklog-id>/properties
- It returns empty
key
array
{
"keys": []
}
I confirmed that creation API with properties
key and the same value worked so that I could fetch keys and further, was able to fetch keys&values inside the property with /rest/api/3/issue/<issue-id>/worklog/<worklog-id>/properties/<property-key>
Is this a know issue? We wanna avoid making 2 requests when updaing a worklog (1. update worklog property with PUT /rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties/{propertyKey}
, 2. update the worklog)