getWorklogProperty method

Future<EntityProperty> getWorklogProperty({
  1. required String issueIdOrKey,
  2. required String worklogId,
  3. required String propertyKey,
})

Returns the value of a worklog property.

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<EntityProperty> getWorklogProperty(
    {required String issueIdOrKey,
    required String worklogId,
    required String propertyKey}) async {
  return EntityProperty.fromJson(await _client.send(
    'get',
    'rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties/{propertyKey}',
    pathParameters: {
      'issueIdOrKey': issueIdOrKey,
      'worklogId': worklogId,
      'propertyKey': propertyKey,
    },
  ));
}