Issue worklog property not being able to be updated by v2, v3 update worklog API

PUT /rest/api/3/issue/{issueIdOrKey}/worklog/{id}

This worklog update REST API doesn’t work as documented when I passed properties.

How to repdroduce:

  1. Make a request with key properties and json value
  2. List property keys with /rest/api/3/issue/<issue-id>/worklog/<worklog-id>/properties
  3. 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)

1 Like