Skip to content

Function: getIssuePickerResource() ​

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

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

Get issue picker resource

Parameters ​

ParameterTypeDescription
clientClient-
parameters?{ currentIssueKey?: string; currentJQL?: string; currentProjectId?: string; query?: string; showSubTaskParent?: string; showSubTasks?: string; }-
parameters.currentIssueKey?stringThe key of the issue in context of which the request is executed
parameters.currentJQL?stringThe JQL in context of which the request is executed
parameters.currentProjectId?stringThe id of the project in context of which the request is executed
parameters.query?stringThe query
parameters.showSubTaskParent?stringIf set to false and request is executed in context of a subtask, the parent issue will not be included in the auto-completion result, even if it matches the query
parameters.showSubTasks?stringIf set to false, subtasks will not be included in the list
options?RequestOptions-

Returns ​

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