setProperty method
Sets the value of a request type property. Use this resource to store custom data against a request type.
Properties for a Request Type in next-gen are stored as Issue Type properties and therefore can also be set by calling the Jira Cloud Platform Set issue type property endpoint.
Permissions required: Jira project administrator with a Jira Service Management agent license.
Implementation
Future<dynamic> setProperty(
{required String serviceDeskId,
required int requestTypeId,
required String propertyKey}) async {
return await _client.send(
'put',
'rest/servicedeskapi/servicedesk/{serviceDeskId}/requesttype/{requestTypeId}/property/{propertyKey}',
pathParameters: {
'serviceDeskId': serviceDeskId,
'requestTypeId': '$requestTypeId',
'propertyKey': propertyKey,
},
);
}