setProjectProperty method
Sets the value of the project property. You can use project properties to store custom data against the project.
The value of the request body must be a valid, non-empty JSON blob. The maximum length is 32768 characters.
This operation can be accessed anonymously.
Permissions required: Administer Jira global permission or Administer Projects project permission for the project in which the property is created.
Implementation
Future<dynamic> setProjectProperty(
{required String projectIdOrKey,
required String propertyKey,
required dynamic body}) async {
return await _client.send(
'put',
'rest/api/3/project/{projectIdOrKey}/properties/{propertyKey}',
pathParameters: {
'projectIdOrKey': projectIdOrKey,
'propertyKey': propertyKey,
},
body: body,
);
}