Skip to content

Function: getIssueProperty() ​

ts
function getIssueProperty(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  key?: string;
  value?: unknown;
}>;

Defined in: src/server/api/issues.ts:744

Returns the value of the property with a given key from the issue identified by the key or by the id.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ issueIdOrKey: string; propertyKey: string; }-
parameters.issueIdOrKeystringIssue id or key
parameters.propertyKey?stringThe key of the property to return
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; key?: string; value?: unknown; }>