Skip to content

Function: setIssueProperty() ​

ts
function setIssueProperty(
   client, 
   parameters, 
   options?
): Promise<void>;

Defined in: src/cloud/api/issueProperties.ts:274

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:

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ body: Record<string, any>; issueIdOrKey: string; propertyKey: string; }-
parameters.bodyRecord<string, any>-
parameters.issueIdOrKey?stringThe ID or key of the issue.
parameters.propertyKey?stringThe key of the issue property. The maximum length is 255 characters.
options?RequestOptions-

Returns ​

Promise<void>