setIssueProperty method
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:
- Browse projects and Edit issues project permissions for the project containing the issue.
- If issue-level security is configured, issue-level security permission to view the issue.
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,
);
}