setIssueProperty method

Future setIssueProperty({
  1. required String issueIdOrKey,
  2. required String propertyKey,
  3. required dynamic body,
})

Sets the value of an issue's property. Use this resource to store custom data against an issue.

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:

Implementation

Future<dynamic> setIssueProperty(
    {required String issueIdOrKey,
    required String propertyKey,
    required dynamic body}) async {
  return await _client.send(
    'put',
    'rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}',
    pathParameters: {
      'issueIdOrKey': issueIdOrKey,
      'propertyKey': propertyKey,
    },
    body: body,
  );
}