getWorklogPropertyKeys method

Future<PropertyKeys> getWorklogPropertyKeys({
  1. required String issueIdOrKey,
  2. required String worklogId,
})

Returns the keys of all properties for a worklog.

This operation can be accessed anonymously.

Permissions required:

  • Browse projects project permission for the project that the issue is in.
  • If issue-level security is configured, issue-level security permission to view the issue.
  • If the worklog has visibility restrictions, belongs to the group or has the role visibility is restricted to.

Implementation

Future<PropertyKeys> getWorklogPropertyKeys(
    {required String issueIdOrKey, required String worklogId}) async {
  return PropertyKeys.fromJson(await _client.send(
    'get',
    'rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties',
    pathParameters: {
      'issueIdOrKey': issueIdOrKey,
      'worklogId': worklogId,
    },
  ));
}