Skip to content

Function: getTransitions() ​

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

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

Get a list of the transitions possible for this issue by the current user, along with fields that are required and their types. Fields will only be returned if expand=transitions.fields. The fields in the metadata correspond to the fields in the transition screen for that transition. Fields not in the screen will not be in the metadata.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ issueIdOrKey: string; transitionId?: string; }-
parameters.issueIdOrKeystringIssue id or key
parameters.transitionId?stringTransition id
options?RequestOptions-

Returns ​

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