getProjectProperty method

Future<EntityProperty> getProjectProperty({
  1. required String projectIdOrKey,
  2. required String propertyKey,
})

Returns the value of a project property.

This operation can be accessed anonymously.

Permissions required: Browse Projects project permission for the project containing the property.

Implementation

Future<EntityProperty> getProjectProperty(
    {required String projectIdOrKey, required String propertyKey}) async {
  return EntityProperty.fromJson(await _client.send(
    'get',
    'rest/api/3/project/{projectIdOrKey}/properties/{propertyKey}',
    pathParameters: {
      'projectIdOrKey': projectIdOrKey,
      'propertyKey': propertyKey,
    },
  ));
}