setProperty method

Future setProperty({
  1. required String organizationId,
  2. required String propertyKey,
})

Sets the value of a property for an organization. Use this resource to store custom data against an organization.

Permissions required: Service Desk Administrator or Agent.

Note: Permission to manage organizations can be switched to users with the Jira administrator permission, using the Organization management feature.

Implementation

Future<dynamic> setProperty(
    {required String organizationId, required String propertyKey}) async {
  return await _client.send(
    'put',
    'rest/servicedeskapi/organization/{organizationId}/property/{propertyKey}',
    pathParameters: {
      'organizationId': organizationId,
      'propertyKey': propertyKey,
    },
  );
}