setIssueTypeProperty method

Future setIssueTypeProperty({
  1. required String issueTypeId,
  2. required String propertyKey,
  3. required dynamic body,
})

Creates or updates the value of the issue type property. Use this resource to store and update data against an issue type.

The value of the request body must be a valid, non-empty JSON blob. The maximum length is 32768 characters.

Permissions required: Administer Jira global permission.

Implementation

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