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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { issueIdOrKey: string; transitionId?: string; } | - |
parameters.issueIdOrKey | string | Issue id or key |
parameters.transitionId? | string | Transition id |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; transitions?: object[]; }>