Skip to content

Function: createServerClient() ​

ts
function createServerClient(clientConfig): object;

Defined in: src/server/createServerClient.ts:611

Parameters ​

ParameterType
clientConfig| Client | ServerClientConfig

Returns ​

object

applicationProperties ​

ts
applicationProperties: object;

applicationProperties.getAdvancedSettings ​

ts
getAdvancedSettings: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>

applicationProperties.getApplicationProperties ​

ts
getApplicationProperties: (parameters?, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters?{ key?: string; keyFilter?: string; permissionLevel?: string; }-
parameters.key?stringA String containing the property key.
parameters.keyFilter?stringWhen fetching a list allows the list to be filtered by the property's start of key e.g. "jira.lf.*" whould fetch only those permissions that are editable and whose keys start with * "jira.lf.". This is a regex.
parameters.permissionLevel?stringWhen fetching a list specifies the permission level of all items in the list see ApplicationPropertiesService.EditPermissionLevel
options?RequestOptions-
Returns ​

Promise<object[]>

applicationProperties.setPropertyViaRestfulTable ​

ts
setPropertyViaRestfulTable: (parameters, options?) => Promise<{
[key: string]: unknown;
  allowedValues?: string[];
  defaultValue?: string;
  desc?: string;
  example?: string;
  id?: string;
  key?: string;
  name?: string;
  type?: string;
  value?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ body: { id?: string; value?: string; }; id: string; }-
parameters.body{ id?: string; value?: string; }-
parameters.body.id?string-
parameters.body.value?string-
parameters.id?stringA String containing the property key.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; allowedValues?: string[]; defaultValue?: string; desc?: string; example?: string; id?: string; key?: string; name?: string; type?: string; value?: string; }>

applicationRoles ​

ts
applicationRoles: object;

applicationRoles.getAll ​

ts
getAll: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>

applicationRoles.getApplicationRole ​

ts
getApplicationRole: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultGroups?: string[];
  defined?: boolean;
  groups?: string[];
  hasUnlimitedSeats?: boolean;
  key?: string;
  name?: string;
  numberOfSeats?: number;
  platform?: boolean;
  remainingSeats?: number;
  selectedByDefault?: boolean;
  userCount?: number;
  userCountDescription?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ key: string; }-
parameters.keystringThe key of the role to use.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultGroups?: string[]; defined?: boolean; groups?: string[]; hasUnlimitedSeats?: boolean; key?: string; name?: string; numberOfSeats?: number; platform?: boolean; remainingSeats?: number; selectedByDefault?: boolean; userCount?: number; userCountDescription?: string; }>

applicationRoles.putBulk ​

ts
putBulk: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterType
parameters{ body?: object[]; If-Match?: string; }
parameters.body?object[]
parameters.If-Match?string
options?RequestOptions
Returns ​

Promise<object[]>

applicationRoles.updateApplicationRole ​

ts
updateApplicationRole: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultGroups?: string[];
  defined?: boolean;
  groups?: string[];
  hasUnlimitedSeats?: boolean;
  key?: string;
  name?: string;
  numberOfSeats?: number;
  platform?: boolean;
  remainingSeats?: number;
  selectedByDefault?: boolean;
  userCount?: number;
  userCountDescription?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ body?: { defaultGroups?: string[]; defined?: boolean; groups?: string[]; hasUnlimitedSeats?: boolean; key?: string; name?: string; numberOfSeats?: number; platform?: boolean; remainingSeats?: number; selectedByDefault?: boolean; userCount?: number; userCountDescription?: string; }; If-Match?: string; key: string; versionHash?: string; }-
parameters.body?{ defaultGroups?: string[]; defined?: boolean; groups?: string[]; hasUnlimitedSeats?: boolean; key?: string; name?: string; numberOfSeats?: number; platform?: boolean; remainingSeats?: number; selectedByDefault?: boolean; userCount?: number; userCountDescription?: string; }-
parameters.body.defaultGroups?string[]-
parameters.body.defined?boolean-
parameters.body.groups?string[]-
parameters.body.hasUnlimitedSeats?boolean-
parameters.body.key?string-
parameters.body.name?string-
parameters.body.numberOfSeats?number-
parameters.body.platform?boolean-
parameters.body.remainingSeats?number-
parameters.body.selectedByDefault?boolean-
parameters.body.userCount?number-
parameters.body.userCountDescription?string-
parameters.If-Match?string-
parameters.key?stringThe key of the role to update.
parameters.versionHash?stringThe hash of the version to update. Optional Param
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultGroups?: string[]; defined?: boolean; groups?: string[]; hasUnlimitedSeats?: boolean; key?: string; name?: string; numberOfSeats?: number; platform?: boolean; remainingSeats?: number; selectedByDefault?: boolean; userCount?: number; userCountDescription?: string; }>

avatars ​

ts
avatars: object;

avatars.createAvatarFromTemporary ​

ts
createAvatarFromTemporary: (parameters, options?) => Promise<{
[key: string]: unknown;
  fileName?: string;
  id?: string;
  isDeletable?: boolean;
  isSelected?: boolean;
  isSystemAvatar?: boolean;
  owner?: string;
  selected?: boolean;
  urls?: Record<string, string>;
}>;
Parameters ​
ParameterTypeDescription
parameters{ cropperOffsetX?: number; cropperOffsetY?: number; cropperWidth?: number; needsCropping?: boolean; owningObjectId: string; type: string; url?: string; }-
parameters.cropperOffsetX?number-
parameters.cropperOffsetY?number-
parameters.cropperWidth?number-
parameters.needsCropping?boolean-
parameters.owningObjectId?stringEntity id where to change avatar
parameters.type?string-
parameters.url?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; fileName?: string; id?: string; isDeletable?: boolean; isSelected?: boolean; isSystemAvatar?: boolean; owner?: string; selected?: boolean; urls?: Record<string, string>; }>

avatars.deleteAvatar ​

ts
deleteAvatar: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; owningObjectId: string; type: string; }-
parameters.idnumberDatabase id for avatar
parameters.owningObjectId?stringEntity id where to change avatar
parameters.type?string-
options?RequestOptions-
Returns ​

Promise<void>

avatars.getAllSystemAvatars ​

ts
getAllSystemAvatars: (parameters, options?) => Promise<{
[key: string]: unknown;
  fileName?: string;
  id?: string;
  isDeletable?: boolean;
  isSelected?: boolean;
  isSystemAvatar?: boolean;
  owner?: string;
  selected?: boolean;
  urls?: Record<string, string>;
}>;
Parameters ​
ParameterTypeDescription
parameters{ type: string; }-
parameters.typestringThe avatar type
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; fileName?: string; id?: string; isDeletable?: boolean; isSelected?: boolean; isSystemAvatar?: boolean; owner?: string; selected?: boolean; urls?: Record<string, string>; }>

avatars.getAvatars ​

ts
getAvatars: (parameters, options?) => Promise<{
[key: string]: unknown;
  custom?: object[];
  system?: object[];
}>;
Parameters ​
ParameterType
parameters{ owningObjectId: string; type: string; }
parameters.owningObjectIdstring
parameters.type?string
options?RequestOptions
Returns ​

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

avatars.storeTemporaryAvatarUsingMultiPart ​

ts
storeTemporaryAvatarUsingMultiPart: (parameters, options?) => Promise<{
[key: string]: unknown;
  cropperOffsetX?: number;
  cropperOffsetY?: number;
  cropperWidth?: number;
  needsCropping?: boolean;
  url?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ avatar: | AttachmentInput | AttachmentInput[]; owningObjectId: string; type: string; }-
parameters.avatar| AttachmentInput | AttachmentInput[]-
parameters.owningObjectId?stringEntity id where to change avatar
parameters.type?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; cropperOffsetX?: number; cropperOffsetY?: number; cropperWidth?: number; needsCropping?: boolean; url?: string; }>

backlog ​

ts
backlog: object;

backlog.moveIssuesToBacklog ​

ts
moveIssuesToBacklog: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ issues?: string[]; }
parameters.issues?string[]
options?RequestOptions
Returns ​

Promise<void>

board ​

ts
board: object;

board.createBoard ​

ts
createBoard: (parameters, options?) => Promise<{
[key: string]: unknown;
  id?: number;
  name?: string;
  self?: string;
  type?: string;
}>;
Parameters ​
ParameterType
parameters{ filterId?: number; name?: string; type?: string; }
parameters.filterId?number
parameters.name?string
parameters.type?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; id?: number; name?: string; self?: string; type?: string; }>

board.deleteBoard ​

ts
deleteBoard: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; }-
parameters.boardIdnumberId of the board to be deleted
options?RequestOptions-
Returns ​

Promise<void>

board.deleteBoardProperty ​

ts
deleteBoardProperty: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; propertyKey: string; }-
parameters.boardIdnumberThe id of the board from which the property will be removed.
parameters.propertyKey?stringThe key of the property to remove.
options?RequestOptions-
Returns ​

Promise<void>

board.getAllBoards ​

ts
getAllBoards: (parameters?, options?) => Promise<{
[key: string]: unknown;
  isLast: boolean;
  maxResults: number;
  startAt: number;
  total?: number;
  values: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ maxResults?: number; name?: string; projectKeyOrId?: string; startAt?: number; type?: string | string[]; }-
parameters.maxResults?numberThe maximum number of boards to return per page. Default: 50.
parameters.name?stringFilters results to boards that match or partially match the specified name.
parameters.projectKeyOrId?stringFilters results to boards that are relevant to a project.
parameters.startAt?numberThe starting index of the returned boards. Base index: 0.
parameters.type?string | string[]Filters results to boards of the specified type. Valid values: scrum, kanban.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast: boolean; maxResults: number; startAt: number; total?: number; values: object[]; }>

board.getAllSprints ​

ts
getAllSprints: (parameters, options?) => Promise<{
[key: string]: unknown;
  isLast: boolean;
  maxResults: number;
  startAt: number;
  total?: number;
  values: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; maxResults?: number; startAt?: number; state?: string | string[]; }-
parameters.boardIdnumberThe Id of the board that contains the requested sprints.
parameters.maxResults?numberThe maximum number of sprints to return per page. Default: 50.
parameters.startAt?numberThe starting index of the returned sprints. Base index: 0.
parameters.state?string | string[]Filters results to sprints in specified states. Valid values: future, active, closed. You can define multiple states separated by commas, e.g. state=active,closed
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast: boolean; maxResults: number; startAt: number; total?: number; values: object[]; }>

board.getAllVersions ​

ts
getAllVersions: (parameters, options?) => Promise<{
[key: string]: unknown;
  isLast: boolean;
  maxResults: number;
  startAt: number;
  total?: number;
  values: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; maxResults?: number; released?: string; startAt?: number; }-
parameters.boardIdnumberThe Id of the board that contains the requested versions.
parameters.maxResults?numberThe maximum number of versions to return per page. Default: 50.
parameters.released?stringFilters results to versions that are either released or unreleased. Valid values: true, false.
parameters.startAt?numberThe starting index of the returned versions. Base index: 0.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast: boolean; maxResults: number; startAt: number; total?: number; values: object[]; }>

board.getBoard ​

ts
getBoard: (parameters, options?) => Promise<{
[key: string]: unknown;
  id?: number;
  name?: string;
  self?: string;
  type?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; }-
parameters.boardIdnumberThe Id of the requested board.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; id?: number; name?: string; self?: string; type?: string; }>

board.getBoardConfiguration ​

ts
getBoardConfiguration: (parameters, options?) => Promise<{
[key: string]: unknown;
  columnConfig?: {
   [key: string]: unknown;
     columns?: object[];
     constraintType?: string;
  };
  estimation?: {
   [key: string]: unknown;
     field?: {
      [key: string]: unknown;
        displayName?: string;
        fieldId?: string;
     };
     type?: string;
  };
  filter?: {
   [key: string]: unknown;
     id?: string;
     self?: string;
  };
  id?: number;
  name?: string;
  ranking?: {
   [key: string]: unknown;
     rankCustomFieldId?: number;
  };
  self?: string;
  subQuery?: {
   [key: string]: unknown;
     query?: string;
  };
  type?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; }-
parameters.boardIdnumberThe id of the board for which configuration is requested.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; columnConfig?: { [key: string]: unknown; columns?: object[]; constraintType?: string; }; estimation?: { [key: string]: unknown; field?: { [key: string]: unknown; displayName?: string; fieldId?: string; }; type?: string; }; filter?: { [key: string]: unknown; id?: string; self?: string; }; id?: number; name?: string; ranking?: { [key: string]: unknown; rankCustomFieldId?: number; }; self?: string; subQuery?: { [key: string]: unknown; query?: string; }; type?: string; }>

board.getBoardProperty ​

ts
getBoardProperty: (parameters, options?) => Promise<{
[key: string]: unknown;
  key?: string;
  value?: unknown;
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; propertyKey: string; }-
parameters.boardIdnumberThe id of the board from which the property will be returned.
parameters.propertyKey?stringThe key of the property to return.
options?RequestOptions-
Returns ​

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

board.getBoardPropertyKeys ​

ts
getBoardPropertyKeys: (parameters, options?) => Promise<{
[key: string]: unknown;
  keys?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; }-
parameters.boardIdnumberThe id of the board from which property keys will be returned.
options?RequestOptions-
Returns ​

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

board.getEpics ​

ts
getEpics: (parameters, options?) => Promise<{
[key: string]: unknown;
  isLast: boolean;
  maxResults: number;
  startAt: number;
  total?: number;
  values: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; done?: string; maxResults?: number; startAt?: number; }-
parameters.boardIdnumberThe Id of the board that contains the requested epics.
parameters.done?stringFilters results to epics that are either done or not done. Valid values: true, false.
parameters.maxResults?numberThe maximum number of epics to return per page. Default: 50. See the 'Pagination' section at the top of this page for more details.
parameters.startAt?numberThe starting index of the returned epics. Base index: 0. See the 'Pagination' section at the top of this page for more details.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast: boolean; maxResults: number; startAt: number; total?: number; values: object[]; }>

board.getIssuesForBacklog ​

ts
getIssuesForBacklog: (parameters, options?) => Promise<{
[key: string]: unknown;
  expand?: string | null;
  issues?: object[];
  maxResults?: number;
  maxResultWindow?: number;
  names?: Record<string, string> | null;
  schema?:   | Record<string, {
   [key: string]: unknown;
     custom?: string;
     customId?: number;
     items?: string;
     system?: string;
     type?: string;
   }>
     | null;
  startAt?: number;
  total?: number;
  warningMessages?: string[] | null;
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; expand?: string; fields?: string | string[]; jql?: string; maxResults?: number; startAt?: number; validateQuery?: boolean; }-
parameters.boardIdnumberThe Id of the board that contains the requested issues.
parameters.expand?stringThis parameter is currently not used.
parameters.fields?string | string[]The list of fields to return for each issue. By default, all navigable and Agile fields are returned.
parameters.jql?stringFilters results using a JQL query. If you define an order in your JQL query, it will override the default order of the returned issues.
parameters.maxResults?numberThe maximum number of issues to return per page. Default: 50.
parameters.startAt?numberThe starting index of the returned issues. Base index: 0.
parameters.validateQuery?booleanSpecifies whether to validate the JQL query or not. Default: true.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; expand?: string | null; issues?: object[]; maxResults?: number; maxResultWindow?: number; names?: Record<string, string> | null; schema?: | Record<string, { [key: string]: unknown; custom?: string; customId?: number; items?: string; system?: string; type?: string; }> | null; startAt?: number; total?: number; warningMessages?: string[] | null; }>

board.getIssuesForBoard ​

ts
getIssuesForBoard: (parameters, options?) => Promise<{
[key: string]: unknown;
  expand?: string | null;
  issues?: object[];
  maxResults?: number;
  maxResultWindow?: number;
  names?: Record<string, string> | null;
  schema?:   | Record<string, {
   [key: string]: unknown;
     custom?: string;
     customId?: number;
     items?: string;
     system?: string;
     type?: string;
   }>
     | null;
  startAt?: number;
  total?: number;
  warningMessages?: string[] | null;
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; expand?: string; fields?: string | string[]; jql?: string; maxResults?: number; startAt?: number; validateQuery?: boolean; }-
parameters.boardIdnumberThe Id of the board that contains the requested issues.
parameters.expand?stringThis parameter is currently not used.
parameters.fields?string | string[]The list of fields to return for each issue. By default, all navigable and Agile fields are returned.
parameters.jql?stringFilters results using a JQL query. If you define an order in your JQL query, it will override the default order of the returned issues.
parameters.maxResults?numberThe maximum number of issues to return per page. Default: 50.
parameters.startAt?numberThe starting index of the returned issues. Base index: 0.
parameters.validateQuery?booleanSpecifies whether to validate the JQL query or not. Default: true.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; expand?: string | null; issues?: object[]; maxResults?: number; maxResultWindow?: number; names?: Record<string, string> | null; schema?: | Record<string, { [key: string]: unknown; custom?: string; customId?: number; items?: string; system?: string; type?: string; }> | null; startAt?: number; total?: number; warningMessages?: string[] | null; }>

board.getIssuesForBoardEpic ​

ts
getIssuesForBoardEpic: (parameters, options?) => Promise<{
[key: string]: unknown;
  expand?: string | null;
  issues?: object[];
  maxResults?: number;
  maxResultWindow?: number;
  names?: Record<string, string> | null;
  schema?:   | Record<string, {
   [key: string]: unknown;
     custom?: string;
     customId?: number;
     items?: string;
     system?: string;
     type?: string;
   }>
     | null;
  startAt?: number;
  total?: number;
  warningMessages?: string[] | null;
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; epicId: number; expand?: string | string[]; fields?: string | string[]; jql?: string; maxResults?: number; startAt?: number; validateQuery?: boolean; }-
parameters.boardIdnumberThe Id of the board that contains the requested issues.
parameters.epicId?numberThe Id of the epic that contains the requested issues.
parameters.expand?string | string[]A comma-separated list of the parameters to expand.
parameters.fields?string | string[]The list of fields to return for each issue. By default, all navigable and Agile fields are returned.
parameters.jql?stringFilters results using a JQL query. If you define an order in your JQL query, it will override the default order of the returned issues.
parameters.maxResults?numberThe maximum number of issues to return per page. Default: 50. See the 'Pagination' section at the top of this page for more details. Note, the total number of issues returned is limited by the property 'jira.search.views.default.max' in your JIRA instance. If you exceed this limit, your results will be truncated.
parameters.startAt?numberThe starting index of the returned issues. Base index: 0. See the 'Pagination' section at the top of this page for more details.
parameters.validateQuery?booleanSpecifies whether to validate the JQL query or not. Default: true.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; expand?: string | null; issues?: object[]; maxResults?: number; maxResultWindow?: number; names?: Record<string, string> | null; schema?: | Record<string, { [key: string]: unknown; custom?: string; customId?: number; items?: string; system?: string; type?: string; }> | null; startAt?: number; total?: number; warningMessages?: string[] | null; }>

board.getIssuesForBoardSprint ​

ts
getIssuesForBoardSprint: (parameters, options?) => Promise<{
[key: string]: unknown;
  expand?: string | null;
  issues?: object[];
  maxResults?: number;
  maxResultWindow?: number;
  names?: Record<string, string> | null;
  schema?:   | Record<string, {
   [key: string]: unknown;
     custom?: string;
     customId?: number;
     items?: string;
     system?: string;
     type?: string;
   }>
     | null;
  startAt?: number;
  total?: number;
  warningMessages?: string[] | null;
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; expand?: string | string[]; fields?: string | string[]; jql?: string; maxResults?: number; sprintId: number; startAt?: number; validateQuery?: boolean; }-
parameters.boardIdnumberThe Id of the board that contains requested issues.
parameters.expand?string | string[]A comma-separated list of the parameters to expand.
parameters.fields?string | string[]The list of fields to return for each issue. By default, all navigable and Agile fields are returned.
parameters.jql?stringFilters results using a JQL query. If you define an order in your JQL query, it will override the default order of the returned issues.
parameters.maxResults?numberThe maximum number of sprints to return per page. Default: 50.
parameters.sprintId?numberThe Id of the sprint that contains requested issues.
parameters.startAt?numberThe starting index of the returned issues. Base index: 0. See the 'Pagination' section at the top of this page for more details.
parameters.validateQuery?booleanSpecifies whether to validate the JQL query or not. Default: true.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; expand?: string | null; issues?: object[]; maxResults?: number; maxResultWindow?: number; names?: Record<string, string> | null; schema?: | Record<string, { [key: string]: unknown; custom?: string; customId?: number; items?: string; system?: string; type?: string; }> | null; startAt?: number; total?: number; warningMessages?: string[] | null; }>

board.getIssuesWithoutEpicForBoard ​

ts
getIssuesWithoutEpicForBoard: (parameters, options?) => Promise<{
[key: string]: unknown;
  expand?: string | null;
  issues?: object[];
  maxResults?: number;
  maxResultWindow?: number;
  names?: Record<string, string> | null;
  schema?:   | Record<string, {
   [key: string]: unknown;
     custom?: string;
     customId?: number;
     items?: string;
     system?: string;
     type?: string;
   }>
     | null;
  startAt?: number;
  total?: number;
  warningMessages?: string[] | null;
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; expand?: string | string[]; fields?: string | string[]; jql?: string; maxResults?: number; startAt?: number; validateQuery?: boolean; }-
parameters.boardIdnumberThe Id of the board that contains the requested issues.
parameters.expand?string | string[]A comma-separated list of the parameters to expand.
parameters.fields?string | string[]The list of fields to return for each issue. By default, all navigable and Agile fields are returned.
parameters.jql?stringFilters results using a JQL query. If you define an order in your JQL query, it will override the default order of the returned issues.
parameters.maxResults?numberThe maximum number of issues to return per page. Default: 50. See the 'Pagination' section at the top of this page for more details. Note, the total number of issues returned is limited by the property 'jira.search.views.default.max' in your JIRA instance. If you exceed this limit, your results will be truncated.
parameters.startAt?numberThe starting index of the returned issues. Base index: 0. See the 'Pagination' section at the top of this page for more details.
parameters.validateQuery?booleanSpecifies whether to validate the JQL query or not. Default: true.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; expand?: string | null; issues?: object[]; maxResults?: number; maxResultWindow?: number; names?: Record<string, string> | null; schema?: | Record<string, { [key: string]: unknown; custom?: string; customId?: number; items?: string; system?: string; type?: string; }> | null; startAt?: number; total?: number; warningMessages?: string[] | null; }>

board.getProjects ​

ts
getProjects: (parameters, options?) => Promise<{
[key: string]: unknown;
  isLast: boolean;
  maxResults: number;
  startAt: number;
  total?: number;
  values: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; maxResults?: number; startAt?: number; }-
parameters.boardIdnumberThe Id of the board that contains returned projects.
parameters.maxResults?numberThe maximum number of projects to return per page. Default: 50. See the 'Pagination' section at the top of this page for more details.
parameters.startAt?numberThe starting index of the returned projects. Base index: 0. See the 'Pagination' section at the top of this page for more details.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast: boolean; maxResults: number; startAt: number; total?: number; values: object[]; }>

board.getRefinedVelocity ​

ts
getRefinedVelocity: (parameters, options?) => Promise<{
[key: string]: unknown;
  value?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; }-
parameters.boardIdnumberThe id of the board from which the settings will be returned.
options?RequestOptions-
Returns ​

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

board.setBoardProperty ​

ts
setBoardProperty: (parameters, options?) => Promise<
  | {
[key: string]: unknown;
  keys?: object[];
}
| undefined>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; body: Record<string, any>; propertyKey: string; }-
parameters.boardIdnumberThe id of the board on which the property will be set.
parameters.body?Record<string, any>-
parameters.propertyKey?stringThe key of the board's property.
options?RequestOptions-
Returns ​

Promise< | { [key: string]: unknown; keys?: object[]; } | undefined>

board.setRefinedVelocity ​

ts
setRefinedVelocity: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ boardId: number; value?: boolean; }-
parameters.boardIdnumberThe id of the board on which the property will be set.
parameters.value?boolean-
options?RequestOptions-
Returns ​

Promise<void>

cluster ​

ts
cluster: object;

cluster.acknowledgeErrors ​

ts
acknowledgeErrors: (options?) => Promise<void>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<void>

cluster.approveUpgrade ​

ts
approveUpgrade: (options?) => Promise<void>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<void>

cluster.cancelUpgrade ​

ts
cancelUpgrade: (options?) => Promise<void>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<void>

cluster.changeNodeStateToOffline ​

ts
changeNodeStateToOffline: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ nodeId: string; }-
parameters.nodeIdstringID of the node to change state
options?RequestOptions-
Returns ​

Promise<void>

cluster.deleteNode ​

ts
deleteNode: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ nodeId: string; }-
parameters.nodeIdstringID of the node to delete
options?RequestOptions-
Returns ​

Promise<void>

cluster.getAllNodes ​

ts
getAllNodes: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>

cluster.getState ​

ts
getState: (options?) => Promise<{
[key: string]: unknown;
  build?: {
   [key: string]: unknown;
     buildNumber?: number;
     version?: string;
  };
  state?:   | string & object
     | "STABLE"
     | "READY_TO_UPGRADE"
     | "MIXED"
     | "READY_TO_RUN_UPGRADE_TASKS"
     | "RUNNING_UPGRADE_TASKS"
     | "UPGRADE_TASKS_FAILED";
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; build?: { [key: string]: unknown; buildNumber?: number; version?: string; }; state?: | string & object | "STABLE" | "READY_TO_UPGRADE" | "MIXED" | "READY_TO_RUN_UPGRADE_TASKS" | "RUNNING_UPGRADE_TASKS" | "UPGRADE_TASKS_FAILED"; }>

cluster.setReadyToUpgrade ​

ts
setReadyToUpgrade: (options?) => Promise<void>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<void>

configuration ​

ts
configuration: object;

configuration.getConfiguration ​

ts
getConfiguration: (options?) => Promise<{
[key: string]: unknown;
  attachmentsEnabled?: boolean;
  issueLinkingEnabled?: boolean;
  subTasksEnabled?: boolean;
  timeTrackingConfiguration?: {
   [key: string]: unknown;
     defaultUnit?: "day" | "hour" | "minute" | "week" | string & object;
     timeFormat?: "days" | "hours" | string & object | "pretty";
     workingDaysPerWeek?: number;
     workingHoursPerDay?: number;
  };
  timeTrackingEnabled?: boolean;
  unassignedIssuesAllowed?: boolean;
  votingEnabled?: boolean;
  watchingEnabled?: boolean;
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; attachmentsEnabled?: boolean; issueLinkingEnabled?: boolean; subTasksEnabled?: boolean; timeTrackingConfiguration?: { [key: string]: unknown; defaultUnit?: "day" | "hour" | "minute" | "week" | string & object; timeFormat?: "days" | "hours" | string & object | "pretty"; workingDaysPerWeek?: number; workingHoursPerDay?: number; }; timeTrackingEnabled?: boolean; unassignedIssuesAllowed?: boolean; votingEnabled?: boolean; watchingEnabled?: boolean; }>

dashboards ​

ts
dashboards: object;

dashboards.deleteDashboardItemProperty ​

ts
deleteDashboardItemProperty: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ dashboardId: string; itemId: string; propertyKey: string; }-
parameters.dashboardIdstringThe dashboard id.
parameters.itemId?stringThe dashboard item from which the property will be removed.
parameters.propertyKey?stringThe key of the property to remove.
options?RequestOptions-
Returns ​

Promise<void>

dashboards.getDashboard ​

ts
getDashboard: (parameters, options?) => Promise<{
[key: string]: unknown;
  id?: string;
  name?: string;
  self?: string;
  view?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe dashboard id.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; id?: string; name?: string; self?: string; view?: string; }>

dashboards.getDashboardItemProperty ​

ts
getDashboardItemProperty: (parameters, options?) => Promise<{
[key: string]: unknown;
  key?: string;
  value?: unknown;
}>;
Parameters ​
ParameterTypeDescription
parameters{ dashboardId: string; itemId: string; propertyKey: string; }-
parameters.dashboardIdstringThe dashboard id.
parameters.itemId?stringThe dashboard item from which the property will be returned.
parameters.propertyKey?stringThe key of the property to return.
options?RequestOptions-
Returns ​

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

dashboards.getDashboardItemPropertyKeys ​

ts
getDashboardItemPropertyKeys: (parameters, options?) => Promise<{
[key: string]: unknown;
  keys?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ dashboardId: string; itemId: string; }-
parameters.dashboardIdstringThe dashboard id.
parameters.itemId?stringThe dashboard item from which keys will be returned.
options?RequestOptions-
Returns ​

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

dashboards.list ​

ts
list: (parameters?, options?) => Promise<{
[key: string]: unknown;
  dashboards?: object[];
  maxResults?: number;
  next?: string;
  prev?: string;
  startAt?: number;
  total?: number;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ filter?: string; maxResults?: string; startAt?: string; }-
parameters.filter?stringAn optional filter that is applied to the list of dashboards.
parameters.maxResults?stringA hint as to the maximum number of dashboards to return in each call.
parameters.startAt?stringThe index of the first dashboard to return (0-based).
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; dashboards?: object[]; maxResults?: number; next?: string; prev?: string; startAt?: number; total?: number; }>

dashboards.setDashboardItemProperty ​

ts
setDashboardItemProperty: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ body: Record<string, any>; dashboardId: string; itemId: string; propertyKey: string; }-
parameters.bodyRecord<string, any>-
parameters.dashboardId?stringThe dashboard id.
parameters.itemId?stringThe dashboard item on which the property will be set.
parameters.propertyKey?stringThe key of the dashboard item's property. The maximum length of the key is 255 bytes.
options?RequestOptions-
Returns ​

Promise<void>

emailTemplates ​

ts
emailTemplates: object;

emailTemplates.applyEmailTemplates ​

ts
applyEmailTemplates: (options?) => Promise<void>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<void>

emailTemplates.downloadEmailTemplates ​

ts
downloadEmailTemplates: (options?) => Promise<ArrayBuffer | ArrayBufferView<ArrayBufferLike>>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<ArrayBuffer | ArrayBufferView<ArrayBufferLike>>

emailTemplates.getEmailTypes ​

ts
getEmailTypes: (options?) => Promise<{
[key: string]: unknown;
  emailTypes?: object[];
  userEmailAddress?: string;
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

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

emailTemplates.revertEmailTemplatesToDefault ​

ts
revertEmailTemplatesToDefault: (options?) => Promise<void>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<void>

emailTemplates.uploadEmailTemplates ​

ts
uploadEmailTemplates: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ body: Blob; }
parameters.bodyBlob
options?RequestOptions
Returns ​

Promise<void>

epic ​

ts
epic: object;

epic.getEpic ​

ts
getEpic: (parameters, options?) => Promise<{
[key: string]: unknown;
  color?: {
   [key: string]: unknown;
     key?:   | string & object
        | "color_1"
        | "color_2"
        | "color_3"
        | "color_4"
        | "color_5"
        | "color_6"
        | "color_7"
        | "color_8"
        | "color_9"
        | "color_10"
        | "color_11"
        | "color_12"
        | "color_13"
        | "color_14";
  };
  done?: boolean;
  id?: number;
  key?: string;
  name?: string;
  self?: string;
  summary?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ epicIdOrKey: string; }-
parameters.epicIdOrKeystringThe id or key of the requested epic.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; color?: { [key: string]: unknown; key?: | string & object | "color_1" | "color_2" | "color_3" | "color_4" | "color_5" | "color_6" | "color_7" | "color_8" | "color_9" | "color_10" | "color_11" | "color_12" | "color_13" | "color_14"; }; done?: boolean; id?: number; key?: string; name?: string; self?: string; summary?: string; }>

epic.getIssuesForEpic ​

ts
getIssuesForEpic: (parameters, options?) => Promise<{
[key: string]: unknown;
  expand?: string | null;
  issues?: object[];
  maxResults?: number;
  maxResultWindow?: number;
  names?: Record<string, string> | null;
  schema?:   | Record<string, {
   [key: string]: unknown;
     custom?: string;
     customId?: number;
     items?: string;
     system?: string;
     type?: string;
   }>
     | null;
  startAt?: number;
  total?: number;
  warningMessages?: string[] | null;
}>;
Parameters ​
ParameterTypeDescription
parameters{ epicIdOrKey: string; expand?: string | string[]; fields?: string | string[]; jql?: string; maxResults?: number; startAt?: number; validateQuery?: boolean; }-
parameters.epicIdOrKeystringThe id or key of the epic that contains the requested issues.
parameters.expand?string | string[]A comma-separated list of the parameters to expand.
parameters.fields?string | string[]The list of fields to return for each issue. By default, all navigable and Agile fields are returned.
parameters.jql?stringFilters results using a JQL query. If you define an order in your JQL query, it will override the default order of the returned issues.
parameters.maxResults?numberThe maximum number of issues to return per page. Default: 50. See the 'Pagination' section at the top of this page for more details. Note, the total number of issues returned is limited by the property 'jira.search.views.default.max'. in your JIRA instance. If you exceed this limit, your results will be truncated.
parameters.startAt?numberThe starting index of the returned issues. Base index: 0. See the 'Pagination' section at the top of this page for more details.
parameters.validateQuery?booleanSpecifies whether to validate the JQL query or not. Default: true.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; expand?: string | null; issues?: object[]; maxResults?: number; maxResultWindow?: number; names?: Record<string, string> | null; schema?: | Record<string, { [key: string]: unknown; custom?: string; customId?: number; items?: string; system?: string; type?: string; }> | null; startAt?: number; total?: number; warningMessages?: string[] | null; }>

epic.getIssuesWithoutEpic ​

ts
getIssuesWithoutEpic: (parameters?, options?) => Promise<{
[key: string]: unknown;
  expand?: string | null;
  issues?: object[];
  maxResults?: number;
  maxResultWindow?: number;
  names?: Record<string, string> | null;
  schema?:   | Record<string, {
   [key: string]: unknown;
     custom?: string;
     customId?: number;
     items?: string;
     system?: string;
     type?: string;
   }>
     | null;
  startAt?: number;
  total?: number;
  warningMessages?: string[] | null;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ expand?: string | string[]; fields?: string | string[]; jql?: string; maxResults?: number; startAt?: number; validateQuery?: boolean; }-
parameters.expand?string | string[]A comma-separated list of the parameters to expand.
parameters.fields?string | string[]The list of fields to return for each issue. By default, all navigable and Agile fields are returned.
parameters.jql?stringFilters results using a JQL query. If you define an order in your JQL query, it will override the default order of the returned issues.
parameters.maxResults?numberThe maximum number of issues to return per page. Default: 50. See the 'Pagination' section at the top of this page for more details. Note, the total number of issues returned is limited by the property 'jira.search.views.default.max'. in your JIRA instance. If you exceed this limit, your results will be truncated.
parameters.startAt?numberThe starting index of the returned issues. Base index: 0. See the 'Pagination' section at the top of this page for more details.
parameters.validateQuery?booleanSpecifies whether to validate the JQL query or not. Default: true.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; expand?: string | null; issues?: object[]; maxResults?: number; maxResultWindow?: number; names?: Record<string, string> | null; schema?: | Record<string, { [key: string]: unknown; custom?: string; customId?: number; items?: string; system?: string; type?: string; }> | null; startAt?: number; total?: number; warningMessages?: string[] | null; }>

epic.moveIssuesToEpic ​

ts
moveIssuesToEpic: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ epicIdOrKey: string; issues?: string[]; }-
parameters.epicIdOrKeystringThe id or key of the epic that you want to assign issues to.
parameters.issues?string[]-
options?RequestOptions-
Returns ​

Promise<void>

epic.partiallyUpdateEpic ​

ts
partiallyUpdateEpic: (parameters, options?) => Promise<{
[key: string]: unknown;
  color?: {
   [key: string]: unknown;
     key?:   | string & object
        | "color_1"
        | "color_2"
        | "color_3"
        | "color_4"
        | "color_5"
        | "color_6"
        | "color_7"
        | "color_8"
        | "color_9"
        | "color_10"
        | "color_11"
        | "color_12"
        | "color_13"
        | "color_14";
  };
  done?: boolean;
  id?: number;
  key?: string;
  name?: string;
  self?: string;
  summary?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ color?: { key?: | string & object | "color_1" | "color_2" | "color_3" | "color_4" | "color_5" | "color_6" | "color_7" | "color_8" | "color_9" | "color_10" | "color_11" | "color_12" | "color_13" | "color_14"; }; done?: boolean; epicIdOrKey: string; name?: string; summary?: string; }-
parameters.color?{ key?: | string & object | "color_1" | "color_2" | "color_3" | "color_4" | "color_5" | "color_6" | "color_7" | "color_8" | "color_9" | "color_10" | "color_11" | "color_12" | "color_13" | "color_14"; }-
parameters.color.key?| string & object | "color_1" | "color_2" | "color_3" | "color_4" | "color_5" | "color_6" | "color_7" | "color_8" | "color_9" | "color_10" | "color_11" | "color_12" | "color_13" | "color_14"-
parameters.done?boolean-
parameters.epicIdOrKey?stringThe id or key of the epic to update.
parameters.name?string-
parameters.summary?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; color?: { [key: string]: unknown; key?: | string & object | "color_1" | "color_2" | "color_3" | "color_4" | "color_5" | "color_6" | "color_7" | "color_8" | "color_9" | "color_10" | "color_11" | "color_12" | "color_13" | "color_14"; }; done?: boolean; id?: number; key?: string; name?: string; self?: string; summary?: string; }>

epic.rankEpics ​

ts
rankEpics: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ epicIdOrKey: string; rankAfterEpic?: string; rankBeforeEpic?: string; rankCustomFieldId?: number; }-
parameters.epicIdOrKeystringThe id or key of the epic to rank.
parameters.rankAfterEpic?string-
parameters.rankBeforeEpic?string-
parameters.rankCustomFieldId?number-
options?RequestOptions-
Returns ​

Promise<void>

epic.removeIssuesFromEpic ​

ts
removeIssuesFromEpic: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ issues?: string[]; }
parameters.issues?string[]
options?RequestOptions
Returns ​

Promise<void>

filters ​

ts
filters: object;

filters.addSharePermission ​

ts
addSharePermission: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ edit?: boolean; groupname?: string; id: string; projectId?: string; projectRoleId?: string; type?: string; userKey?: string; view?: boolean; }-
parameters.edit?boolean-
parameters.groupname?string-
parameters.id?stringThe filter id.
parameters.projectId?string-
parameters.projectRoleId?string-
parameters.type?string-
parameters.userKey?string-
parameters.view?boolean-
options?RequestOptions-
Returns ​

Promise<object[]>

filters.createFilter ​

ts
createFilter: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  editable?: boolean;
  favourite?: boolean;
  id?: string;
  jql?: string;
  name?: string;
  owner?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  searchUrl?: string;
  self?: string;
  sharedUsers?: {
   [key: string]: unknown;
     backingListSize?: number;
     callback?: {
      [key: string]: unknown;
     };
     items?: object[];
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  sharePermissions?: object[];
  viewUrl?: string;
}>;
Parameters ​
ParameterType
parameters{ description?: string; editable?: boolean; expand?: string | string[]; favourite?: boolean; id?: string; jql?: string; name?: string; owner?: { active?: boolean; applicationRoles?: { callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; searchUrl?: string; self?: string; sharedUsers?: { backingListSize?: number; callback?: Record<string, never>; items?: object[]; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; sharePermissions?: object[]; viewUrl?: string; }
parameters.description?string
parameters.editable?boolean
parameters.expand?string | string[]
parameters.favourite?boolean
parameters.id?string
parameters.jql?string
parameters.name?string
parameters.owner?{ active?: boolean; applicationRoles?: { callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }
parameters.owner.active?boolean
parameters.owner.applicationRoles?{ callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }
parameters.owner.applicationRoles.callback?Record<string, never>
parameters.owner.applicationRoles.maxResults?number
parameters.owner.applicationRoles.pagingCallback?Record<string, never>
parameters.owner.applicationRoles.size?number
parameters.owner.avatarUrls?Record<string, string>
parameters.owner.deleted?boolean
parameters.owner.displayName?string
parameters.owner.emailAddress?string
parameters.owner.expand?string
parameters.owner.groups?{ callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }
parameters.owner.groups.callback?Record<string, never>
parameters.owner.groups.maxResults?number
parameters.owner.groups.pagingCallback?Record<string, never>
parameters.owner.groups.size?number
parameters.owner.key?string
parameters.owner.lastLoginTime?string
parameters.owner.locale?string
parameters.owner.name?string
parameters.owner.self?string
parameters.owner.timeZone?string
parameters.searchUrl?string
parameters.self?string
parameters.sharedUsers?{ backingListSize?: number; callback?: Record<string, never>; items?: object[]; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }
parameters.sharedUsers.backingListSize?number
parameters.sharedUsers.callback?Record<string, never>
parameters.sharedUsers.items?object[]
parameters.sharedUsers.maxResults?number
parameters.sharedUsers.pagingCallback?Record<string, never>
parameters.sharedUsers.size?number
parameters.sharePermissions?object[]
parameters.viewUrl?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; description?: string; editable?: boolean; favourite?: boolean; id?: string; jql?: string; name?: string; owner?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; searchUrl?: string; self?: string; sharedUsers?: { [key: string]: unknown; backingListSize?: number; callback?: { [key: string]: unknown; }; items?: object[]; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; sharePermissions?: object[]; viewUrl?: string; }>

filters.deleteFilter ​

ts
deleteFilter: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe ID of the filter to delete.
options?RequestOptions-
Returns ​

Promise<void>

filters.deleteSharePermission ​

ts
deleteSharePermission: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; permissionId: string; }-
parameters.idstringThe filter id.
parameters.permissionId?string-
options?RequestOptions-
Returns ​

Promise<void>

filters.editFilter ​

ts
editFilter: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  editable?: boolean;
  favourite?: boolean;
  id?: string;
  jql?: string;
  name?: string;
  owner?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  searchUrl?: string;
  self?: string;
  sharedUsers?: {
   [key: string]: unknown;
     backingListSize?: number;
     callback?: {
      [key: string]: unknown;
     };
     items?: object[];
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  sharePermissions?: object[];
  viewUrl?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ body?: { description?: string; editable?: boolean; favourite?: boolean; id?: string; jql?: string; name?: string; owner?: { active?: boolean; applicationRoles?: { callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; searchUrl?: string; self?: string; sharedUsers?: { backingListSize?: number; callback?: Record<string, never>; items?: object[]; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; sharePermissions?: object[]; viewUrl?: string; }; expand?: string | string[]; id: string; }-
parameters.body?{ description?: string; editable?: boolean; favourite?: boolean; id?: string; jql?: string; name?: string; owner?: { active?: boolean; applicationRoles?: { callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; searchUrl?: string; self?: string; sharedUsers?: { backingListSize?: number; callback?: Record<string, never>; items?: object[]; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; sharePermissions?: object[]; viewUrl?: string; }-
parameters.body.description?string-
parameters.body.editable?boolean-
parameters.body.favourite?boolean-
parameters.body.id?string-
parameters.body.jql?string-
parameters.body.name?string-
parameters.body.owner?{ active?: boolean; applicationRoles?: { callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }-
parameters.body.owner.active?boolean-
parameters.body.owner.applicationRoles?{ callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }-
parameters.body.owner.applicationRoles.callback?... | ...-
parameters.body.owner.applicationRoles.maxResults?... | ...-
parameters.body.owner.applicationRoles.pagingCallback?... | ...-
parameters.body.owner.applicationRoles.size?... | ...-
parameters.body.owner.avatarUrls?Record<string, string>-
parameters.body.owner.deleted?boolean-
parameters.body.owner.displayName?string-
parameters.body.owner.emailAddress?string-
parameters.body.owner.expand?string-
parameters.body.owner.groups?{ callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }-
parameters.body.owner.groups.callback?... | ...-
parameters.body.owner.groups.maxResults?... | ...-
parameters.body.owner.groups.pagingCallback?... | ...-
parameters.body.owner.groups.size?... | ...-
parameters.body.owner.key?string-
parameters.body.owner.lastLoginTime?string-
parameters.body.owner.locale?string-
parameters.body.owner.name?string-
parameters.body.owner.self?string-
parameters.body.owner.timeZone?string-
parameters.body.searchUrl?string-
parameters.body.self?string-
parameters.body.sharedUsers?{ backingListSize?: number; callback?: Record<string, never>; items?: object[]; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }-
parameters.body.sharedUsers.backingListSize?number-
parameters.body.sharedUsers.callback?Record<string, never>-
parameters.body.sharedUsers.items?object[]-
parameters.body.sharedUsers.maxResults?number-
parameters.body.sharedUsers.pagingCallback?Record<string, never>-
parameters.body.sharedUsers.size?number-
parameters.body.sharePermissions?object[]-
parameters.body.viewUrl?string-
parameters.expand?string | string[]-
parameters.id?stringThe filter id.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; description?: string; editable?: boolean; favourite?: boolean; id?: string; jql?: string; name?: string; owner?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; searchUrl?: string; self?: string; sharedUsers?: { [key: string]: unknown; backingListSize?: number; callback?: { [key: string]: unknown; }; items?: object[]; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; sharePermissions?: object[]; viewUrl?: string; }>

filters.getDefaultShareScope ​

ts
getDefaultShareScope: (options?) => Promise<{
[key: string]: unknown;
  scope?: string & object | "GLOBAL" | "AUTHENTICATED" | "PRIVATE";
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; scope?: string & object | "GLOBAL" | "AUTHENTICATED" | "PRIVATE"; }>

filters.getFavouriteFilters ​

ts
getFavouriteFilters: (parameters?, options?) => Promise<object[]>;
Parameters ​
ParameterType
parameters?{ expand?: string | string[]; }
parameters.expand?string | string[]
options?RequestOptions
Returns ​

Promise<object[]>

filters.getFilter ​

ts
getFilter: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  editable?: boolean;
  favourite?: boolean;
  id?: string;
  jql?: string;
  name?: string;
  owner?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  searchUrl?: string;
  self?: string;
  sharedUsers?: {
   [key: string]: unknown;
     backingListSize?: number;
     callback?: {
      [key: string]: unknown;
     };
     items?: object[];
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  sharePermissions?: object[];
  viewUrl?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string | string[]; id: string; }-
parameters.expand?string | string[]-
parameters.id?stringThe filter id.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; description?: string; editable?: boolean; favourite?: boolean; id?: string; jql?: string; name?: string; owner?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; searchUrl?: string; self?: string; sharedUsers?: { [key: string]: unknown; backingListSize?: number; callback?: { [key: string]: unknown; }; items?: object[]; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; sharePermissions?: object[]; viewUrl?: string; }>

filters.getFilterColumns ​

ts
getFilterColumns: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe filter id.
options?RequestOptions-
Returns ​

Promise<object[]>

filters.getSharePermission ​

ts
getSharePermission: (parameters, options?) => Promise<{
[key: string]: unknown;
  edit?: boolean;
  group?: {
   [key: string]: unknown;
     name?: string;
     self?: string;
  };
  id?: number;
  project?: {
   [key: string]: unknown;
     archived?: boolean;
     avatarUrls?: Record<string, string>;
     description?: string;
     id?: string;
     key?: string;
     name?: string;
     self?: string;
  };
  role?: {
   [key: string]: unknown;
     actors?: object[];
     description?: string;
     id?: number;
     name?: string;
     self?: string;
  };
  type?: string;
  user?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  view?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; permissionId: string; }-
parameters.idstringThe filter id.
parameters.permissionId?stringThe permission id.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; edit?: boolean; group?: { [key: string]: unknown; name?: string; self?: string; }; id?: number; project?: { [key: string]: unknown; archived?: boolean; avatarUrls?: Record<string, string>; description?: string; id?: string; key?: string; name?: string; self?: string; }; role?: { [key: string]: unknown; actors?: object[]; description?: string; id?: number; name?: string; self?: string; }; type?: string; user?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; view?: boolean; }>

filters.getSharePermissions ​

ts
getSharePermissions: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe filter id.
options?RequestOptions-
Returns ​

Promise<object[]>

filters.resetColumns ​

ts
resetColumns: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe filter id.
options?RequestOptions-
Returns ​

Promise<void>

filters.setColumns ​

ts
setColumns: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ columns?: string[]; id: string; }-
parameters.columns?string[]-
parameters.id?stringThe filter id.
options?RequestOptions-
Returns ​

Promise<void>

filters.setDefaultShareScope ​

ts
setDefaultShareScope: (parameters, options?) => Promise<{
[key: string]: unknown;
  scope?: string & object | "GLOBAL" | "AUTHENTICATED" | "PRIVATE";
}>;
Parameters ​
ParameterType
parameters{ scope?: string & object | "GLOBAL" | "AUTHENTICATED" | "PRIVATE"; }
parameters.scope?string & object | "GLOBAL" | "AUTHENTICATED" | "PRIVATE"
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; scope?: string & object | "GLOBAL" | "AUTHENTICATED" | "PRIVATE"; }>

groupAndUserPicker ​

ts
groupAndUserPicker: object;

groupAndUserPicker.findUsersAndGroups ​

ts
findUsersAndGroups: (parameters?, options?) => Promise<{
[key: string]: unknown;
  groups?: {
   [key: string]: unknown;
     groups?: object[];
     header?: string;
     total?: number;
  };
  users?: {
   [key: string]: unknown;
     header?: string;
     total?: number;
     users?: object[];
  };
}>;
Parameters ​
ParameterTypeDescription
parameters?{ fieldId?: string; issueTypeId?: string; maxResults?: string; projectId?: string; query?: string; showAvatar?: string; }-
parameters.fieldId?stringThe custom field id
parameters.issueTypeId?stringThe list of issue type ids to further restrict the search
parameters.maxResults?stringThe maximum number of users to return
parameters.projectId?stringThe list of project ids to further restrict the search
parameters.query?stringA string used to search username, Name or e-mail address
parameters.showAvatar?stringShow avatar
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; groups?: { [key: string]: unknown; groups?: object[]; header?: string; total?: number; }; users?: { [key: string]: unknown; header?: string; total?: number; users?: object[]; }; }>

groups ​

ts
groups: object;

groups.addUserToGroup ​

ts
addUserToGroup: (parameters, options?) => Promise<{
[key: string]: unknown;
  name?: string;
  self?: string;
  users?: {
   [key: string]: unknown;
     backingListSize?: number;
     callback?: {
      [key: string]: unknown;
     };
     items?: object[];
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
}>;
Parameters ​
ParameterTypeDescription
parameters{ groupname: string; name?: string; }-
parameters.groupnamestringA name of requested group.
parameters.name?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; name?: string; self?: string; users?: { [key: string]: unknown; backingListSize?: number; callback?: { [key: string]: unknown; }; items?: object[]; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; }>

groups.createGroup ​

ts
createGroup: (parameters, options?) => Promise<{
[key: string]: unknown;
  name?: string;
  self?: string;
  users?: {
   [key: string]: unknown;
     backingListSize?: number;
     callback?: {
      [key: string]: unknown;
     };
     items?: object[];
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
}>;
Parameters ​
ParameterType
parameters{ name?: string; }
parameters.name?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; name?: string; self?: string; users?: { [key: string]: unknown; backingListSize?: number; callback?: { [key: string]: unknown; }; items?: object[]; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; }>

groups.findGroups ​

ts
findGroups: (parameters?, options?) => Promise<{
[key: string]: unknown;
  groups?: object[];
  header?: string;
  total?: number;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ exclude?: string; maxResults?: string; query?: string; userName?: string; }-
parameters.exclude?stringList of groups to exclude
parameters.maxResults?stringMaximum number of results to return
parameters.query?stringA String to match groups against
parameters.userName?stringUsername for the context
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; groups?: object[]; header?: string; total?: number; }>

groups.getUsersFromGroup ​

ts
getUsersFromGroup: (parameters, options?) => Promise<{
[key: string]: unknown;
  isLast?: boolean;
  maxResults?: number;
  self?: string;
  startAt?: number;
  total?: number;
  values?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ groupname: string; includeInactiveUsers?: string; maxResults?: string; startAt?: string; }-
parameters.groupnamestringThe group name.
parameters.includeInactiveUsers?stringInclude inactive users.
parameters.maxResults?stringThe maximum number of users to return.
parameters.startAt?stringThe index of the first user in group to return.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast?: boolean; maxResults?: number; self?: string; startAt?: number; total?: number; values?: object[]; }>

groups.removeGroup ​

ts
removeGroup: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ groupname: string; swapGroup?: string; }-
parameters.groupnamestringThe name of the group to delete.
parameters.swapGroup?stringA different group to transfer the restrictions to.
options?RequestOptions-
Returns ​

Promise<void>

groups.removeUserFromGroup ​

ts
removeUserFromGroup: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ groupname: string; username: string; }-
parameters.groupnamestringA name of requested group.
parameters.username?stringUser to remove from a group
options?RequestOptions-
Returns ​

Promise<void>

indexing ​

ts
indexing: object;

indexing.createIndexSnapshot ​

ts
createIndexSnapshot: (options?) => Promise<{
[key: string]: unknown;
  futureAbsolutePath?: string;
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

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

indexing.getIndexSummary ​

ts
getIndexSummary: (options?) => Promise<{
[key: string]: unknown;
  externalPlatformIndexReplay?: Record<string, {
   [key: string]: unknown;
     lastConsumedOperation?: {
      [key: string]: unknown;
        id?: ... | ...;
        journalWriteTime?: ... | ...;
     };
     lastOperationInQueue?: {
      [key: string]: unknown;
        id?: ... | ...;
        journalWriteTime?: ... | ...;
     };
     queueSize?: number;
  }>;
  issueIndex?: {
   [key: string]: unknown;
     countInArchive?: number;
     countInDatabase?: number;
     countInIndex?: number;
     indexReadable?: boolean;
     lastUpdatedInDatabase?: Date;
     lastUpdatedInIndex?: Date;
  };
  nodeId?: string;
  replicationQueues?: Record<string, {
   [key: string]: unknown;
     lastConsumedOperation?: {
      [key: string]: unknown;
        id?: ... | ...;
        replicationTime?: ... | ...;
     };
     lastOperationInQueue?: {
      [key: string]: unknown;
        id?: ... | ...;
        replicationTime?: ... | ...;
     };
     queueSize?: number;
  }>;
  reportTime?: Date;
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; externalPlatformIndexReplay?: Record<string, { [key: string]: unknown; lastConsumedOperation?: { [key: string]: unknown; id?: ... | ...; journalWriteTime?: ... | ...; }; lastOperationInQueue?: { [key: string]: unknown; id?: ... | ...; journalWriteTime?: ... | ...; }; queueSize?: number; }>; issueIndex?: { [key: string]: unknown; countInArchive?: number; countInDatabase?: number; countInIndex?: number; indexReadable?: boolean; lastUpdatedInDatabase?: Date; lastUpdatedInIndex?: Date; }; nodeId?: string; replicationQueues?: Record<string, { [key: string]: unknown; lastConsumedOperation?: { [key: string]: unknown; id?: ... | ...; replicationTime?: ... | ...; }; lastOperationInQueue?: { [key: string]: unknown; id?: ... | ...; replicationTime?: ... | ...; }; queueSize?: number; }>; reportTime?: Date; }>

indexing.getProgressBulk ​

ts
getProgressBulk: (parameters?, options?) => Promise<unknown>;
Parameters ​
ParameterTypeDescription
parameters?{ requestId?: number[]; }-
parameters.requestId?number[]The reindex request IDs.
options?RequestOptions-
Returns ​

Promise<unknown>

indexing.getReindexInfo ​

ts
getReindexInfo: (parameters?, options?) => Promise<{
[key: string]: unknown;
  currentProgress?: number;
  currentSubTask?: string;
  finishTime?: Date;
  progressUrl?: string;
  startTime?: Date;
  submittedTime?: Date;
  success?: boolean;
  type?:   | string & object
     | "FOREGROUND"
     | "BACKGROUND"
     | "BACKGROUND_PREFFERED"
     | "BACKGROUND_PREFERRED";
}>;
Parameters ​
ParameterTypeDescription
parameters?{ taskId?: number; }-
parameters.taskId?numberThe id of an indexing task you wish to obtain details on. If omitted, then defaults to the standard behaviour and returns information on the active reindex task, or the last task to run if no reindex is taking place.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; currentProgress?: number; currentSubTask?: string; finishTime?: Date; progressUrl?: string; startTime?: Date; submittedTime?: Date; success?: boolean; type?: | string & object | "FOREGROUND" | "BACKGROUND" | "BACKGROUND_PREFFERED" | "BACKGROUND_PREFERRED"; }>

indexing.getReindexProgress ​

ts
getReindexProgress: (parameters?, options?) => Promise<{
[key: string]: unknown;
  currentProgress?: number;
  currentSubTask?: string;
  finishTime?: Date;
  progressUrl?: string;
  startTime?: Date;
  submittedTime?: Date;
  success?: boolean;
  type?:   | string & object
     | "FOREGROUND"
     | "BACKGROUND"
     | "BACKGROUND_PREFFERED"
     | "BACKGROUND_PREFERRED";
}>;
Parameters ​
ParameterTypeDescription
parameters?{ taskId?: number; }-
parameters.taskId?numberThe id of an indexing task you wish to obtain details on. If omitted, then defaults to the standard behaviour and returns information on the active reindex task, or the last task to run if no reindex is taking place.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; currentProgress?: number; currentSubTask?: string; finishTime?: Date; progressUrl?: string; startTime?: Date; submittedTime?: Date; success?: boolean; type?: | string & object | "FOREGROUND" | "BACKGROUND" | "BACKGROUND_PREFFERED" | "BACKGROUND_PREFERRED"; }>

indexing.getReindexRequestProgress ​

ts
getReindexRequestProgress: (parameters, options?) => Promise<{
[key: string]: unknown;
  completionTime?: Date;
  id?: number;
  requestTime?: Date;
  startTime?: Date;
  status?:   | string & object
     | "RUNNING"
     | "COMPLETE"
     | "FAILED"
     | "PENDING"
     | "ACTIVE";
  type?: string & object | "IMMEDIATE" | "DELAYED";
}>;
Parameters ​
ParameterTypeDescription
parameters{ requestId: number; }-
parameters.requestIdnumberThe reindex request ID.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; completionTime?: Date; id?: number; requestTime?: Date; startTime?: Date; status?: | string & object | "RUNNING" | "COMPLETE" | "FAILED" | "PENDING" | "ACTIVE"; type?: string & object | "IMMEDIATE" | "DELAYED"; }>

indexing.isIndexSnapshotRunning ​

ts
isIndexSnapshotRunning: (options?) => Promise<{
[key: string]: unknown;
  running?: boolean;
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

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

indexing.listIndexSnapshot ​

ts
listIndexSnapshot: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>

indexing.processRequests ​

ts
processRequests: (options?) => Promise<number[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<number[]>

indexing.reindex ​

ts
reindex: (parameters, options?) => Promise<{
[key: string]: unknown;
  currentProgress?: number;
  currentSubTask?: string;
  finishTime?: Date;
  progressUrl?: string;
  startTime?: Date;
  submittedTime?: Date;
  success?: boolean;
  type?:   | string & object
     | "FOREGROUND"
     | "BACKGROUND"
     | "BACKGROUND_PREFFERED"
     | "BACKGROUND_PREFERRED";
}>;
Parameters ​
ParameterTypeDescription
parameters{ indexChangeHistory?: boolean; indexComments?: boolean; indexWorklogs?: boolean; type?: string; }-
parameters.indexChangeHistory?booleanIndicates that changeHistory should also be reindexed. Not relevant for foreground reindex, where changeHistory is always reindexed.
parameters.indexComments?booleanIndicates that comments should also be reindexed. Not relevant for foreground reindex, where comments are always reindexed.
parameters.indexWorklogs?booleanIndicates that worklogs should also be reindexed. Not relevant for foreground reindex, where worklogs are always reindexed.
parameters.type?stringCase insensitive String indicating type of reindex. If omitted, then defaults to BACKGROUND_PREFERRED. Not relevant for Search Platform that only supports BACKGROUND reindexing e.g. OpenSearch.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; currentProgress?: number; currentSubTask?: string; finishTime?: Date; progressUrl?: string; startTime?: Date; submittedTime?: Date; success?: boolean; type?: | string & object | "FOREGROUND" | "BACKGROUND" | "BACKGROUND_PREFFERED" | "BACKGROUND_PREFERRED"; }>

indexing.reindexIssues ​

ts
reindexIssues: (parameters, options?) => Promise<{
[key: string]: unknown;
  currentProgress?: number;
  currentSubTask?: string;
  finishTime?: Date;
  progressUrl?: string;
  startTime?: Date;
  submittedTime?: Date;
  success?: boolean;
  type?:   | string & object
     | "FOREGROUND"
     | "BACKGROUND"
     | "BACKGROUND_PREFFERED"
     | "BACKGROUND_PREFERRED";
}>;
Parameters ​
ParameterTypeDescription
parameters{ indexChangeHistory?: boolean; indexComments?: boolean; indexWorklogs?: boolean; issueId?: string[]; }-
parameters.indexChangeHistory?booleanIndicates that changeHistory should also be reindexed.
parameters.indexComments?booleanIndicates that comments should also be reindexed.
parameters.indexWorklogs?booleanIndicates that worklogs should also be reindexed.
parameters.issueId?string[]The IDs or keys of one or more issues to reindex.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; currentProgress?: number; currentSubTask?: string; finishTime?: Date; progressUrl?: string; startTime?: Date; submittedTime?: Date; success?: boolean; type?: | string & object | "FOREGROUND" | "BACKGROUND" | "BACKGROUND_PREFFERED" | "BACKGROUND_PREFERRED"; }>

issueAttachments ​

ts
issueAttachments: object;

issueAttachments.expandForHumans ​

ts
expandForHumans: (parameters, options?) => Promise<{
[key: string]: unknown;
  entries?: Record<string, any>;
  id?: number;
  mediaType?: string;
  name?: string;
  totalEntryCount?: number;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe id of the attachment to expand.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; entries?: Record<string, any>; id?: number; mediaType?: string; name?: string; totalEntryCount?: number; }>

issueAttachments.expandForMachines ​

ts
expandForMachines: (parameters, options?) => Promise<{
[key: string]: unknown;
  entries?: object[];
  totalEntryCount?: number;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe id of the attachment to expand.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; entries?: object[]; totalEntryCount?: number; }>

issueAttachments.getAttachment ​

ts
getAttachment: (parameters, options?) => Promise<{
[key: string]: unknown;
  author?: {
   [key: string]: unknown;
     active?: boolean;
     avatarUrls?: Record<string, string>;
     displayName?: string;
     emailAddress?: string;
     key?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  content?: string;
  created?: string;
  filename?: string;
  id?: string;
  mimeType?: string;
  properties?: Record<string, any>;
  self?: string;
  size?: number;
  thumbnail?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringId of the attachment to view
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; author?: { [key: string]: unknown; active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; content?: string; created?: string; filename?: string; id?: string; mimeType?: string; properties?: Record<string, any>; self?: string; size?: number; thumbnail?: string; }>

issueAttachments.getAttachmentMeta ​

ts
getAttachmentMeta: (options?) => Promise<{
[key: string]: unknown;
  enabled?: boolean;
  uploadLimit?: number;
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; enabled?: boolean; uploadLimit?: number; }>

issueAttachments.removeAttachment ​

ts
removeAttachment: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringId of the attachment to remove
options?RequestOptions-
Returns ​

Promise<void>

issueComments ​

ts
issueComments: object;

issueComments.deleteCommentProperty ​

ts
deleteCommentProperty: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ commentId: string; propertyKey: string; }-
parameters.commentIdstringThe comment from which the property will be removed.
parameters.propertyKey?stringThe key of the property to remove.
options?RequestOptions-
Returns ​

Promise<void>

issueComments.getCommentProperty ​

ts
getCommentProperty: (parameters, options?) => Promise<{
[key: string]: unknown;
  key?: string;
  value?: unknown;
}>;
Parameters ​
ParameterTypeDescription
parameters{ commentId: string; propertyKey: string; }-
parameters.commentIdstringThe comment from which the property will be returned.
parameters.propertyKey?stringThe key of the property to return.
options?RequestOptions-
Returns ​

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

issueComments.getCommentPropertyKeys ​

ts
getCommentPropertyKeys: (parameters, options?) => Promise<{
[key: string]: unknown;
  keys?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ commentId: string; }-
parameters.commentIdstringThe comment from which keys will be returned.
options?RequestOptions-
Returns ​

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

issueComments.setCommentProperty ​

ts
setCommentProperty: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ body: Record<string, any>; commentId: string; propertyKey: string; }-
parameters.bodyRecord<string, any>-
parameters.commentId?stringThe comment on which the property will be set.
parameters.propertyKey?stringThe key of the comment's property. The maximum length of the key is 255 bytes.
options?RequestOptions-
Returns ​

Promise<void>

issueCustomFieldOptions ​

ts
issueCustomFieldOptions: object;

issueCustomFieldOptions.getCustomFieldOption ​

ts
getCustomFieldOption: (parameters, options?) => Promise<{
[key: string]: unknown;
  childrenIds?: number[];
  disabled?: boolean;
  id?: number;
  self?: string;
  value?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringA String containing an Custom Field Option id.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; childrenIds?: number[]; disabled?: boolean; id?: number; self?: string; value?: string; }>

issueFields ​

ts
issueFields: object;

issueFields.bulkDeleteCustomFields ​

ts
bulkDeleteCustomFields: (parameters, options?) => Promise<{
[key: string]: unknown;
  deletedCustomFields?: string[];
  message?: string;
  notDeletedCustomFields?: Record<string, string>;
}>;
Parameters ​
ParameterTypeDescription
parameters{ ids: string; }-
parameters.idsstringA list of custom field IDs to delete.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; deletedCustomFields?: string[]; message?: string; notDeletedCustomFields?: Record<string, string>; }>

issueFields.createCustomField ​

ts
createCustomField: (parameters, options?) => Promise<{
[key: string]: unknown;
  clauseNames?: string[];
  custom?: boolean;
  id?: string;
  name?: string;
  navigable?: boolean;
  orderable?: boolean;
  schema?: {
   [key: string]: unknown;
     custom?: string;
     customId?: number;
     items?: string;
     system?: string;
     type?: string;
  };
  searchable?: boolean;
}>;
Parameters ​
ParameterType
parameters{ description?: string; id?: string; issueTypeIds?: string[]; name?: string; projectIds?: number[]; searcherKey?: string; self?: string; type?: string; }
parameters.description?string
parameters.id?string
parameters.issueTypeIds?string[]
parameters.name?string
parameters.projectIds?number[]
parameters.searcherKey?string
parameters.self?string
parameters.type?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; clauseNames?: string[]; custom?: boolean; id?: string; name?: string; navigable?: boolean; orderable?: boolean; schema?: { [key: string]: unknown; custom?: string; customId?: number; items?: string; system?: string; type?: string; }; searchable?: boolean; }>

issueFields.getCustomFieldOptions ​

ts
getCustomFieldOptions: (parameters, options?) => Promise<{
[key: string]: unknown;
  options?: object[];
  total?: number;
}>;
Parameters ​
ParameterTypeDescription
parameters{ customFieldId: string; issueTypeIds?: string; maxResults?: string; page?: string; projectIds?: string; query?: string; sortByOptionName?: string; useAllContexts?: string; }-
parameters.customFieldIdstringThe ID of the custom field.
parameters.issueTypeIds?stringA list of issue type IDs in a context.
parameters.maxResults?stringThe maximum number of results to return.
parameters.page?stringThe page of options to return.
parameters.projectIds?stringA list of project IDs in a context.
parameters.query?stringA string used to filter options.
parameters.sortByOptionName?stringFlag to sort options by their names.
parameters.useAllContexts?stringFlag to fetch all options regardless of context, project IDs, or issue type IDs.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; options?: object[]; total?: number; }>

issueFields.getCustomFields ​

ts
getCustomFields: (parameters?, options?) => Promise<{
[key: string]: unknown;
  isLast: boolean;
  maxResults: number;
  startAt: number;
  total?: number;
  values: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ lastValueUpdate?: string; maxResults?: string; projectIds?: string; screenIds?: string; search?: string; sortColumn?: string; sortOrder?: string; startAt?: string; types?: string; }-
parameters.lastValueUpdate?stringThe last value update to filter the custom fields.
parameters.maxResults?stringThe maximum number of custom fields to return.
parameters.projectIds?stringA list of project IDs to filter the custom fields.
parameters.screenIds?stringA list of screen IDs to filter the custom fields.
parameters.search?stringA query string used to search custom fields.
parameters.sortColumn?stringThe column by which to sort the returned custom fields.
parameters.sortOrder?stringThe order in which to sort the returned custom fields.
parameters.startAt?stringThe starting index of the returned custom fields.
parameters.types?stringA list of custom field types to filter the custom fields.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast: boolean; maxResults: number; startAt: number; total?: number; values: object[]; }>

issueFields.getFields ​

ts
getFields: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>

ts
issueLinks: object;
ts
deleteIssueLink: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ linkId: string; }-
parameters.linkIdstringThe issue link id.
options?RequestOptions-
Returns ​

Promise<void>

ts
getIssueLink: (parameters, options?) => Promise<{
[key: string]: unknown;
  id?: string;
  inwardIssue?: {
   [key: string]: unknown;
     fields?: {
      [key: string]: unknown;
        issuetype?: {
         [key: ...]: ...;
           avatarId?: ...;
           description?: ...;
           iconUrl?: ...;
           id?: ...;
           name?: ...;
           self?: ...;
           subtask?: ...;
        };
        priority?: {
         [key: ...]: ...;
           description?: ...;
           iconUrl?: ...;
           id?: ...;
           name?: ...;
           self?: ...;
           statusColor?: ...;
        };
        status?: {
         [key: ...]: ...;
           description?: ...;
           iconUrl?: ...;
           id?: ...;
           name?: ...;
           self?: ...;
           statusCategory?: ...;
           statusColor?: ...;
        };
        summary?: string;
     };
     id?: string;
     key?: string;
     self?: string;
  };
  outwardIssue?: {
   [key: string]: unknown;
     fields?: {
      [key: string]: unknown;
        issuetype?: {
         [key: ...]: ...;
           avatarId?: ...;
           description?: ...;
           iconUrl?: ...;
           id?: ...;
           name?: ...;
           self?: ...;
           subtask?: ...;
        };
        priority?: {
         [key: ...]: ...;
           description?: ...;
           iconUrl?: ...;
           id?: ...;
           name?: ...;
           self?: ...;
           statusColor?: ...;
        };
        status?: {
         [key: ...]: ...;
           description?: ...;
           iconUrl?: ...;
           id?: ...;
           name?: ...;
           self?: ...;
           statusCategory?: ...;
           statusColor?: ...;
        };
        summary?: string;
     };
     id?: string;
     key?: string;
     self?: string;
  };
  self?: string;
  type?: {
   [key: string]: unknown;
     id?: string;
     inward?: string;
     name?: string;
     outward?: string;
     self?: string;
  };
}>;
Parameters ​
ParameterTypeDescription
parameters{ linkId: string; }-
parameters.linkIdstringThe issue link id.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; id?: string; inwardIssue?: { [key: string]: unknown; fields?: { [key: string]: unknown; issuetype?: { [key: ...]: ...; avatarId?: ...; description?: ...; iconUrl?: ...; id?: ...; name?: ...; self?: ...; subtask?: ...; }; priority?: { [key: ...]: ...; description?: ...; iconUrl?: ...; id?: ...; name?: ...; self?: ...; statusColor?: ...; }; status?: { [key: ...]: ...; description?: ...; iconUrl?: ...; id?: ...; name?: ...; self?: ...; statusCategory?: ...; statusColor?: ...; }; summary?: string; }; id?: string; key?: string; self?: string; }; outwardIssue?: { [key: string]: unknown; fields?: { [key: string]: unknown; issuetype?: { [key: ...]: ...; avatarId?: ...; description?: ...; iconUrl?: ...; id?: ...; name?: ...; self?: ...; subtask?: ...; }; priority?: { [key: ...]: ...; description?: ...; iconUrl?: ...; id?: ...; name?: ...; self?: ...; statusColor?: ...; }; status?: { [key: ...]: ...; description?: ...; iconUrl?: ...; id?: ...; name?: ...; self?: ...; statusCategory?: ...; statusColor?: ...; }; summary?: string; }; id?: string; key?: string; self?: string; }; self?: string; type?: { [key: string]: unknown; id?: string; inward?: string; name?: string; outward?: string; self?: string; }; }>

ts
linkIssues: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ comment?: { author?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; body?: string; created?: string; id?: string; properties?: object[]; renderedBody?: string; self?: string; updateAuthor?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; updated?: string; visibility?: { type?: "role" | "group" | string & object; value?: string; }; }; inwardIssue?: { fields?: { issuetype?: { avatarId?: ... | ...; description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; subtask?: ... | ... | ...; }; priority?: { description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusColor?: ... | ...; }; status?: { description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusCategory?: ... | ...; statusColor?: ... | ...; }; summary?: string; }; id?: string; key?: string; self?: string; }; outwardIssue?: { fields?: { issuetype?: { avatarId?: ... | ...; description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; subtask?: ... | ... | ...; }; priority?: { description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusColor?: ... | ...; }; status?: { description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusCategory?: ... | ...; statusColor?: ... | ...; }; summary?: string; }; id?: string; key?: string; self?: string; }; type?: { id?: string; inward?: string; name?: string; outward?: string; self?: string; }; }
parameters.comment?{ author?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; body?: string; created?: string; id?: string; properties?: object[]; renderedBody?: string; self?: string; updateAuthor?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; updated?: string; visibility?: { type?: "role" | "group" | string & object; value?: string; }; }
parameters.comment.author?{ active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }
parameters.comment.author.active?boolean
parameters.comment.author.avatarUrls?Record<string, string>
parameters.comment.author.displayName?string
parameters.comment.author.emailAddress?string
parameters.comment.author.key?string
parameters.comment.author.name?string
parameters.comment.author.self?string
parameters.comment.author.timeZone?string
parameters.comment.body?string
parameters.comment.created?string
parameters.comment.id?string
parameters.comment.properties?object[]
parameters.comment.renderedBody?string
parameters.comment.self?string
parameters.comment.updateAuthor?{ active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }
parameters.comment.updateAuthor.active?boolean
parameters.comment.updateAuthor.avatarUrls?Record<string, string>
parameters.comment.updateAuthor.displayName?string
parameters.comment.updateAuthor.emailAddress?string
parameters.comment.updateAuthor.key?string
parameters.comment.updateAuthor.name?string
parameters.comment.updateAuthor.self?string
parameters.comment.updateAuthor.timeZone?string
parameters.comment.updated?string
parameters.comment.visibility?{ type?: "role" | "group" | string & object; value?: string; }
parameters.comment.visibility.type?"role" | "group" | string & object
parameters.comment.visibility.value?string
parameters.inwardIssue?{ fields?: { issuetype?: { avatarId?: ... | ...; description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; subtask?: ... | ... | ...; }; priority?: { description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusColor?: ... | ...; }; status?: { description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusCategory?: ... | ...; statusColor?: ... | ...; }; summary?: string; }; id?: string; key?: string; self?: string; }
parameters.inwardIssue.fields?{ issuetype?: { avatarId?: ... | ...; description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; subtask?: ... | ... | ...; }; priority?: { description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusColor?: ... | ...; }; status?: { description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusCategory?: ... | ...; statusColor?: ... | ...; }; summary?: string; }
parameters.inwardIssue.fields.issuetype?{ avatarId?: ... | ...; description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; subtask?: ... | ... | ...; }
parameters.inwardIssue.fields.issuetype.avatarId?... | ...
parameters.inwardIssue.fields.issuetype.description?... | ...
parameters.inwardIssue.fields.issuetype.iconUrl?... | ...
parameters.inwardIssue.fields.issuetype.id?... | ...
parameters.inwardIssue.fields.issuetype.name?... | ...
parameters.inwardIssue.fields.issuetype.self?... | ...
parameters.inwardIssue.fields.issuetype.subtask?... | ... | ...
parameters.inwardIssue.fields.priority?{ description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusColor?: ... | ...; }
parameters.inwardIssue.fields.priority.description?... | ...
parameters.inwardIssue.fields.priority.iconUrl?... | ...
parameters.inwardIssue.fields.priority.id?... | ...
parameters.inwardIssue.fields.priority.name?... | ...
parameters.inwardIssue.fields.priority.self?... | ...
parameters.inwardIssue.fields.priority.statusColor?... | ...
parameters.inwardIssue.fields.status?{ description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusCategory?: ... | ...; statusColor?: ... | ...; }
parameters.inwardIssue.fields.status.description?... | ...
parameters.inwardIssue.fields.status.iconUrl?... | ...
parameters.inwardIssue.fields.status.id?... | ...
parameters.inwardIssue.fields.status.name?... | ...
parameters.inwardIssue.fields.status.self?... | ...
parameters.inwardIssue.fields.status.statusCategory?... | ...
parameters.inwardIssue.fields.status.statusColor?... | ...
parameters.inwardIssue.fields.summary?string
parameters.inwardIssue.id?string
parameters.inwardIssue.key?string
parameters.inwardIssue.self?string
parameters.outwardIssue?{ fields?: { issuetype?: { avatarId?: ... | ...; description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; subtask?: ... | ... | ...; }; priority?: { description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusColor?: ... | ...; }; status?: { description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusCategory?: ... | ...; statusColor?: ... | ...; }; summary?: string; }; id?: string; key?: string; self?: string; }
parameters.outwardIssue.fields?{ issuetype?: { avatarId?: ... | ...; description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; subtask?: ... | ... | ...; }; priority?: { description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusColor?: ... | ...; }; status?: { description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusCategory?: ... | ...; statusColor?: ... | ...; }; summary?: string; }
parameters.outwardIssue.fields.issuetype?{ avatarId?: ... | ...; description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; subtask?: ... | ... | ...; }
parameters.outwardIssue.fields.issuetype.avatarId?... | ...
parameters.outwardIssue.fields.issuetype.description?... | ...
parameters.outwardIssue.fields.issuetype.iconUrl?... | ...
parameters.outwardIssue.fields.issuetype.id?... | ...
parameters.outwardIssue.fields.issuetype.name?... | ...
parameters.outwardIssue.fields.issuetype.self?... | ...
parameters.outwardIssue.fields.issuetype.subtask?... | ... | ...
parameters.outwardIssue.fields.priority?{ description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusColor?: ... | ...; }
parameters.outwardIssue.fields.priority.description?... | ...
parameters.outwardIssue.fields.priority.iconUrl?... | ...
parameters.outwardIssue.fields.priority.id?... | ...
parameters.outwardIssue.fields.priority.name?... | ...
parameters.outwardIssue.fields.priority.self?... | ...
parameters.outwardIssue.fields.priority.statusColor?... | ...
parameters.outwardIssue.fields.status?{ description?: ... | ...; iconUrl?: ... | ...; id?: ... | ...; name?: ... | ...; self?: ... | ...; statusCategory?: ... | ...; statusColor?: ... | ...; }
parameters.outwardIssue.fields.status.description?... | ...
parameters.outwardIssue.fields.status.iconUrl?... | ...
parameters.outwardIssue.fields.status.id?... | ...
parameters.outwardIssue.fields.status.name?... | ...
parameters.outwardIssue.fields.status.self?... | ...
parameters.outwardIssue.fields.status.statusCategory?... | ...
parameters.outwardIssue.fields.status.statusColor?... | ...
parameters.outwardIssue.fields.summary?string
parameters.outwardIssue.id?string
parameters.outwardIssue.key?string
parameters.outwardIssue.self?string
parameters.type?{ id?: string; inward?: string; name?: string; outward?: string; self?: string; }
parameters.type.id?string
parameters.type.inward?string
parameters.type.name?string
parameters.type.outward?string
parameters.type.self?string
options?RequestOptions
Returns ​

Promise<void>

issueLinkTypes ​

ts
issueLinkTypes: object;

issueLinkTypes.createIssueLinkType ​

ts
createIssueLinkType: (parameters, options?) => Promise<{
[key: string]: unknown;
  id?: string;
  inward?: string;
  name?: string;
  outward?: string;
  self?: string;
}>;
Parameters ​
ParameterType
parameters{ id?: string; inward?: string; name?: string; outward?: string; self?: string; }
parameters.id?string
parameters.inward?string
parameters.name?string
parameters.outward?string
parameters.self?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; id?: string; inward?: string; name?: string; outward?: string; self?: string; }>

issueLinkTypes.deleteIssueLinkType ​

ts
deleteIssueLinkType: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ issueLinkTypeId: string; }-
parameters.issueLinkTypeIdstringThe issue link type id.
options?RequestOptions-
Returns ​

Promise<void>

issueLinkTypes.getIssueLinkType ​

ts
getIssueLinkType: (parameters, options?) => Promise<{
[key: string]: unknown;
  id?: string;
  inward?: string;
  name?: string;
  outward?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ issueLinkTypeId: string; }-
parameters.issueLinkTypeIdstringThe issue link type id.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; id?: string; inward?: string; name?: string; outward?: string; self?: string; }>

issueLinkTypes.getIssueLinkTypes ​

ts
getIssueLinkTypes: (options?) => Promise<{
[key: string]: unknown;
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

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

issueLinkTypes.moveIssueLinkType ​

ts
moveIssueLinkType: (parameters, options?) => Promise<{
[key: string]: unknown;
  id?: string;
  inward?: string;
  name?: string;
  outward?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ issueLinkTypeId: string; newPosition?: number; }-
parameters.issueLinkTypeIdstringId of the issue link type to move.
parameters.newPosition?number-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; id?: string; inward?: string; name?: string; outward?: string; self?: string; }>

issueLinkTypes.resetOrder ​

ts
resetOrder: (parameters, options?) => Promise<{
[key: string]: unknown;
}>;
Parameters ​
ParameterType
parameters{ direction?: string; }
parameters.direction?string
options?RequestOptions
Returns ​

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

issueLinkTypes.updateIssueLinkType ​

ts
updateIssueLinkType: (parameters, options?) => Promise<{
[key: string]: unknown;
  id?: string;
  inward?: string;
  name?: string;
  outward?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id?: string; inward?: string; issueLinkTypeId: string; name?: string; outward?: string; self?: string; }-
parameters.id?string-
parameters.inward?string-
parameters.issueLinkTypeId?stringThe issue link type id.
parameters.name?string-
parameters.outward?string-
parameters.self?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; id?: string; inward?: string; name?: string; outward?: string; self?: string; }>

issueNotificationSchemes ​

ts
issueNotificationSchemes: object;

issueNotificationSchemes.getNotificationScheme ​

ts
getNotificationScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  expand?: string;
  id?: number;
  name?: string;
  notificationSchemeEvents?: object[];
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string; id: number; }-
parameters.expand?stringOptional information to be expanded in the response: group, user, projectRole or field.
parameters.id?numberThe id of the notification scheme to retrieve
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; description?: string; expand?: string; id?: number; name?: string; notificationSchemeEvents?: object[]; self?: string; }>

issueNotificationSchemes.getNotificationSchemes ​

ts
getNotificationSchemes: (parameters?, options?) => Promise<{
[key: string]: unknown;
  isLast?: boolean;
  maxResults?: number;
  nextPage?: string;
  self?: string;
  startAt?: number;
  total?: number;
  values?: Record<string, any>[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ expand?: string; maxResults?: number; startAt?: number; }-
parameters.expand?stringOptional information to be expanded in the response: group, user, projectRole or field.
parameters.maxResults?numberThe maximum number of notification schemes to return (max 50).
parameters.startAt?numberThe index of the first notification scheme to return (0 based).
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast?: boolean; maxResults?: number; nextPage?: string; self?: string; startAt?: number; total?: number; values?: Record<string, any>[]; }>

issuePriorities ​

ts
issuePriorities: object;

issuePriorities.getPriorities ​

ts
getPriorities: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>

issuePriorities.getPrioritiesPaginated ​

ts
getPrioritiesPaginated: (parameters?, options?) => Promise<{
[key: string]: unknown;
  isLast: boolean;
  maxResults: number;
  startAt: number;
  total?: number;
  values: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ maxResults?: number; projectIds?: number[]; query?: string; startAt?: number; }-
parameters.maxResults?numberHow many results on the page should be included. Defaults to 100
parameters.projectIds?number[]The list of project ids to filter priorities
parameters.query?stringQuery that should match priority name or its translation
parameters.startAt?numberThe page offset, if not specified then defaults to 0
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast: boolean; maxResults: number; startAt: number; total?: number; values: object[]; }>

issuePriorities.getPriority ​

ts
getPriority: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  iconUrl?: string;
  id?: string;
  name?: string;
  self?: string;
  statusColor?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringA String containing the priority id
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; statusColor?: string; }>

issueResolutions ​

ts
issueResolutions: object;

issueResolutions.getPaginatedResolutions ​

ts
getPaginatedResolutions: (parameters?, options?) => Promise<{
[key: string]: unknown;
  isLast: boolean;
  maxResults: number;
  startAt: number;
  total?: number;
  values: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ maxResults?: number; query?: string; startAt?: number; }-
parameters.maxResults?numberThe maximum number of statuses to return.
parameters.query?stringThe string that status names will be matched with.
parameters.startAt?numberThe index of the first status to return.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast: boolean; maxResults: number; startAt: number; total?: number; values: object[]; }>

issueResolutions.getResolution ​

ts
getResolution: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  iconUrl?: string;
  id?: string;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringA String containing the resolution id.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; }>

issueResolutions.getResolutions ​

ts
getResolutions: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>

issues ​

ts
issues: object;

issues.addAttachment ​

ts
addAttachment: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ attachments: | AttachmentInput | AttachmentInput[]; issueIdOrKey: string; }-
parameters.attachments| AttachmentInput | AttachmentInput[]-
parameters.issueIdOrKey?stringIssue id or key
options?RequestOptions-
Returns ​

Promise<object[]>

issues.addComment ​

ts
addComment: (parameters, options?) => Promise<{
[key: string]: unknown;
  author?: {
   [key: string]: unknown;
     active?: boolean;
     avatarUrls?: Record<string, string>;
     displayName?: string;
     emailAddress?: string;
     key?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  body?: string;
  created?: string;
  id?: string;
  properties?: object[];
  renderedBody?: string;
  self?: string;
  updateAuthor?: {
   [key: string]: unknown;
     active?: boolean;
     avatarUrls?: Record<string, string>;
     displayName?: string;
     emailAddress?: string;
     key?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  updated?: string;
  visibility?: {
   [key: string]: unknown;
     type?: "role" | "group" | string & object;
     value?: string;
  };
}>;
Parameters ​
ParameterTypeDescription
parameters{ author?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; body?: string; created?: string; expand?: string; id?: string; issueIdOrKey: string; properties?: object[]; renderedBody?: string; self?: string; updateAuthor?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; updated?: string; visibility?: { type?: "role" | "group" | string & object; value?: string; }; }-
parameters.author?{ active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }-
parameters.author.active?boolean-
parameters.author.avatarUrls?Record<string, string>-
parameters.author.displayName?string-
parameters.author.emailAddress?string-
parameters.author.key?string-
parameters.author.name?string-
parameters.author.self?string-
parameters.author.timeZone?string-
parameters.body?string-
parameters.created?string-
parameters.expand?stringOptional flags: renderedBody (provides body rendered in HTML)
parameters.id?string-
parameters.issueIdOrKey?stringIssue id or key
parameters.properties?object[]-
parameters.renderedBody?string-
parameters.self?string-
parameters.updateAuthor?{ active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }-
parameters.updateAuthor.active?boolean-
parameters.updateAuthor.avatarUrls?Record<string, string>-
parameters.updateAuthor.displayName?string-
parameters.updateAuthor.emailAddress?string-
parameters.updateAuthor.key?string-
parameters.updateAuthor.name?string-
parameters.updateAuthor.self?string-
parameters.updateAuthor.timeZone?string-
parameters.updated?string-
parameters.visibility?{ type?: "role" | "group" | string & object; value?: string; }-
parameters.visibility.type?"role" | "group" | string & object-
parameters.visibility.value?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; author?: { [key: string]: unknown; active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; body?: string; created?: string; id?: string; properties?: object[]; renderedBody?: string; self?: string; updateAuthor?: { [key: string]: unknown; active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; updated?: string; visibility?: { [key: string]: unknown; type?: "role" | "group" | string & object; value?: string; }; }>

issues.addVote ​

ts
addVote: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; }-
parameters.issueIdOrKeystringIssue id.
options?RequestOptions-
Returns ​

Promise<void>

issues.addWatcher ​

ts
addWatcher: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ body?: string; issueIdOrKey: string; userName?: string; }-
parameters.body?string-
parameters.issueIdOrKey?stringIssue id or key
parameters.userName?stringThe name of the user to add to the watcher list. If no name is specified, the current user is added.
options?RequestOptions-
Returns ​

Promise<void>

issues.addWorklog ​

ts
addWorklog: (parameters, options?) => Promise<{
[key: string]: unknown;
  author?: {
   [key: string]: unknown;
     active?: boolean;
     avatarUrls?: Record<string, string>;
     displayName?: string;
     emailAddress?: string;
     key?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  comment?: string;
  created?: string;
  id?: string;
  issueId?: string;
  self?: string;
  started?: string;
  timeSpent?: string;
  timeSpentSeconds?: number;
  updateAuthor?: {
   [key: string]: unknown;
     active?: boolean;
     avatarUrls?: Record<string, string>;
     displayName?: string;
     emailAddress?: string;
     key?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  updated?: string;
  visibility?: {
   [key: string]: unknown;
     type?: "role" | "group" | string & object;
     value?: string;
  };
}>;
Parameters ​
ParameterTypeDescription
parameters{ adjustEstimate?: string; author?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; comment?: string; created?: string; id?: string; issueId?: string; issueIdOrKey: string; newEstimate?: string; reduceBy?: string; self?: string; started?: string; timeSpent?: string; timeSpentSeconds?: number; updateAuthor?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; updated?: string; visibility?: { type?: "role" | "group" | string & object; value?: string; }; }-
parameters.adjustEstimate?stringAllows you to provide specific instructions to update the remaining time estimate of the issue. Valid values are: new, leave, manual, auto
parameters.author?{ active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }-
parameters.author.active?boolean-
parameters.author.avatarUrls?Record<string, string>-
parameters.author.displayName?string-
parameters.author.emailAddress?string-
parameters.author.key?string-
parameters.author.name?string-
parameters.author.self?string-
parameters.author.timeZone?string-
parameters.comment?string-
parameters.created?string-
parameters.id?string-
parameters.issueId?string-
parameters.issueIdOrKey?stringA string containing the issue id or key the worklog will be added to
parameters.newEstimate?stringRequired when 'new' is selected for adjustEstimate. e.g. "2d"
parameters.reduceBy?stringRequired when 'manual' is selected for adjustEstimate. e.g. "2d"
parameters.self?string-
parameters.started?string-
parameters.timeSpent?string-
parameters.timeSpentSeconds?number-
parameters.updateAuthor?{ active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }-
parameters.updateAuthor.active?boolean-
parameters.updateAuthor.avatarUrls?Record<string, string>-
parameters.updateAuthor.displayName?string-
parameters.updateAuthor.emailAddress?string-
parameters.updateAuthor.key?string-
parameters.updateAuthor.name?string-
parameters.updateAuthor.self?string-
parameters.updateAuthor.timeZone?string-
parameters.updated?string-
parameters.visibility?{ type?: "role" | "group" | string & object; value?: string; }-
parameters.visibility.type?"role" | "group" | string & object-
parameters.visibility.value?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; author?: { [key: string]: unknown; active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; comment?: string; created?: string; id?: string; issueId?: string; self?: string; started?: string; timeSpent?: string; timeSpentSeconds?: number; updateAuthor?: { [key: string]: unknown; active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; updated?: string; visibility?: { [key: string]: unknown; type?: "role" | "group" | string & object; value?: string; }; }>

issues.archiveIssue ​

ts
archiveIssue: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; notifyUsers?: string; }-
parameters.issueIdOrKeystringIssue id or key
parameters.notifyUsers?stringSend the email with notification that the issue was updated to users that watch it. Admin or project admin permissions are required to disable the notification.
options?RequestOptions-
Returns ​

Promise<void>

issues.archiveIssues ​

ts
archiveIssues: (parameters, options?) => Promise<unknown>;
Parameters ​
ParameterTypeDescription
parameters{ body?: string; notifyUsers?: string; }-
parameters.body?string-
parameters.notifyUsers?stringSend the email with notification that the issue was updated to users that watch it. Admin or project admin permissions are required to disable the notification.
options?RequestOptions-
Returns ​

Promise<unknown>

issues.assign ​

ts
assign: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ active?: boolean; applicationRoles?: { callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; issueIdOrKey: string; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }-
parameters.active?boolean-
parameters.applicationRoles?{ callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }-
parameters.applicationRoles.callback?Record<string, never>-
parameters.applicationRoles.maxResults?number-
parameters.applicationRoles.pagingCallback?Record<string, never>-
parameters.applicationRoles.size?number-
parameters.avatarUrls?Record<string, string>-
parameters.deleted?boolean-
parameters.displayName?string-
parameters.emailAddress?string-
parameters.expand?string-
parameters.groups?{ callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }-
parameters.groups.callback?Record<string, never>-
parameters.groups.maxResults?number-
parameters.groups.pagingCallback?Record<string, never>-
parameters.groups.size?number-
parameters.issueIdOrKey?stringIssue id or key
parameters.key?string-
parameters.lastLoginTime?string-
parameters.locale?string-
parameters.name?string-
parameters.self?string-
parameters.timeZone?string-
options?RequestOptions-
Returns ​

Promise<void>

issues.canMoveSubTask ​

ts
canMoveSubTask: (parameters, options?) => Promise<boolean>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; }-
parameters.issueIdOrKeystringThe parent issue's key or id
options?RequestOptions-
Returns ​

Promise<boolean>

issues.createIssue ​

ts
createIssue: (parameters, options?) => Promise<{
[key: string]: unknown;
  id?: string;
  key?: string;
  self?: string;
}>;
Parameters ​
ParameterType
parameters{ fields?: Record<string, any>; historyMetadata?: { activityDescription?: string; activityDescriptionKey?: string; actor?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; cause?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; description?: string; descriptionKey?: string; emailDescription?: string; emailDescriptionKey?: string; extraData?: Record<string, string>; generator?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; type?: string; }; properties?: object[]; transition?: { description?: string; fields?: Record<string, { allowedValues?: ...[]; autoCompleteUrl?: string; defaultValue?: Record<..., ...>; fieldId?: string; hasDefaultValue?: boolean; name?: string; operations?: ...[]; required?: boolean; schema?: { custom?: ...; customId?: ...; items?: ...; system?: ...; type?: ...; }; }>; id?: string; name?: string; opsbarSequence?: number; to?: { description?: string; iconUrl?: string; id?: string; name?: string; self?: string; statusCategory?: { colorName?: ... | ...; id?: ... | ...; key?: ... | ...; name?: ... | ...; self?: ... | ...; }; statusColor?: string; }; }; update?: Record<string, object[]>; updateHistory?: boolean; }
parameters.fields?Record<string, any>
parameters.historyMetadata?{ activityDescription?: string; activityDescriptionKey?: string; actor?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; cause?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; description?: string; descriptionKey?: string; emailDescription?: string; emailDescriptionKey?: string; extraData?: Record<string, string>; generator?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; type?: string; }
parameters.historyMetadata.activityDescription?string
parameters.historyMetadata.activityDescriptionKey?string
parameters.historyMetadata.actor?{ avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }
parameters.historyMetadata.actor.avatarUrl?string
parameters.historyMetadata.actor.displayName?string
parameters.historyMetadata.actor.displayNameKey?string
parameters.historyMetadata.actor.id?string
parameters.historyMetadata.actor.type?string
parameters.historyMetadata.actor.url?string
parameters.historyMetadata.cause?{ avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }
parameters.historyMetadata.cause.avatarUrl?string
parameters.historyMetadata.cause.displayName?string
parameters.historyMetadata.cause.displayNameKey?string
parameters.historyMetadata.cause.id?string
parameters.historyMetadata.cause.type?string
parameters.historyMetadata.cause.url?string
parameters.historyMetadata.description?string
parameters.historyMetadata.descriptionKey?string
parameters.historyMetadata.emailDescription?string
parameters.historyMetadata.emailDescriptionKey?string
parameters.historyMetadata.extraData?Record<string, string>
parameters.historyMetadata.generator?{ avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }
parameters.historyMetadata.generator.avatarUrl?string
parameters.historyMetadata.generator.displayName?string
parameters.historyMetadata.generator.displayNameKey?string
parameters.historyMetadata.generator.id?string
parameters.historyMetadata.generator.type?string
parameters.historyMetadata.generator.url?string
parameters.historyMetadata.type?string
parameters.properties?object[]
parameters.transition?{ description?: string; fields?: Record<string, { allowedValues?: ...[]; autoCompleteUrl?: string; defaultValue?: Record<..., ...>; fieldId?: string; hasDefaultValue?: boolean; name?: string; operations?: ...[]; required?: boolean; schema?: { custom?: ...; customId?: ...; items?: ...; system?: ...; type?: ...; }; }>; id?: string; name?: string; opsbarSequence?: number; to?: { description?: string; iconUrl?: string; id?: string; name?: string; self?: string; statusCategory?: { colorName?: ... | ...; id?: ... | ...; key?: ... | ...; name?: ... | ...; self?: ... | ...; }; statusColor?: string; }; }
parameters.transition.description?string
parameters.transition.fields?Record<string, { allowedValues?: ...[]; autoCompleteUrl?: string; defaultValue?: Record<..., ...>; fieldId?: string; hasDefaultValue?: boolean; name?: string; operations?: ...[]; required?: boolean; schema?: { custom?: ...; customId?: ...; items?: ...; system?: ...; type?: ...; }; }>
parameters.transition.id?string
parameters.transition.name?string
parameters.transition.opsbarSequence?number
parameters.transition.to?{ description?: string; iconUrl?: string; id?: string; name?: string; self?: string; statusCategory?: { colorName?: ... | ...; id?: ... | ...; key?: ... | ...; name?: ... | ...; self?: ... | ...; }; statusColor?: string; }
parameters.transition.to.description?string
parameters.transition.to.iconUrl?string
parameters.transition.to.id?string
parameters.transition.to.name?string
parameters.transition.to.self?string
parameters.transition.to.statusCategory?{ colorName?: ... | ...; id?: ... | ...; key?: ... | ...; name?: ... | ...; self?: ... | ...; }
parameters.transition.to.statusCategory.colorName?... | ...
parameters.transition.to.statusCategory.id?... | ...
parameters.transition.to.statusCategory.key?... | ...
parameters.transition.to.statusCategory.name?... | ...
parameters.transition.to.statusCategory.self?... | ...
parameters.transition.to.statusColor?string
parameters.update?Record<string, object[]>
parameters.updateHistory?boolean
options?RequestOptions
Returns ​

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

issues.createIssues ​

ts
createIssues: (parameters, options?) => Promise<{
[key: string]: unknown;
  errors?: object[];
  issues?: object[];
}>;
Parameters ​
ParameterType
parameters{ issueUpdates?: object[]; }
parameters.issueUpdates?object[]
options?RequestOptions
Returns ​

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

ts
createOrUpdateRemoteIssueLink: (parameters, options?) => Promise<{
[key: string]: unknown;
}>;
Parameters ​
ParameterTypeDescription
parameters{ application?: { name?: string; type?: string; }; globalId?: string; issueIdOrKey: string; object?: { icon?: { link?: string; title?: string; url16x16?: string; }; status?: { icon?: { link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }; resolved?: boolean; }; summary?: string; title?: string; url?: string; }; relationship?: string; }-
parameters.application?{ name?: string; type?: string; }-
parameters.application.name?string-
parameters.application.type?string-
parameters.globalId?string-
parameters.issueIdOrKey?stringIssue id or key
parameters.object?{ icon?: { link?: string; title?: string; url16x16?: string; }; status?: { icon?: { link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }; resolved?: boolean; }; summary?: string; title?: string; url?: string; }-
parameters.object.icon?{ link?: string; title?: string; url16x16?: string; }-
parameters.object.icon.link?string-
parameters.object.icon.title?string-
parameters.object.icon.url16x16?string-
parameters.object.status?{ icon?: { link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }; resolved?: boolean; }-
parameters.object.status.icon?{ link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }-
parameters.object.status.icon.link?... | ...-
parameters.object.status.icon.title?... | ...-
parameters.object.status.icon.url16x16?... | ...-
parameters.object.status.resolved?boolean-
parameters.object.summary?string-
parameters.object.title?string-
parameters.object.url?string-
parameters.relationship?string-
options?RequestOptions-
Returns ​

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

ts
createReciprocalRemoteIssueLink: (parameters, options?) => Promise<{
[key: string]: unknown;
  source?: {
   [key: string]: unknown;
  };
  target?: {
   [key: string]: unknown;
  };
}>;
Parameters ​
ParameterType
parameters{ source?: { application?: { name?: string; type?: string; }; globalId?: string; object?: { icon?: { link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }; status?: { icon?: ... | ...; resolved?: ... | ... | ...; }; summary?: string; title?: string; url?: string; }; relationship?: string; }; target?: { application?: { name?: string; type?: string; }; globalId?: string; object?: { icon?: { link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }; status?: { icon?: ... | ...; resolved?: ... | ... | ...; }; summary?: string; title?: string; url?: string; }; relationship?: string; }; }
parameters.source?{ application?: { name?: string; type?: string; }; globalId?: string; object?: { icon?: { link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }; status?: { icon?: ... | ...; resolved?: ... | ... | ...; }; summary?: string; title?: string; url?: string; }; relationship?: string; }
parameters.source.application?{ name?: string; type?: string; }
parameters.source.application.name?string
parameters.source.application.type?string
parameters.source.globalId?string
parameters.source.object?{ icon?: { link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }; status?: { icon?: ... | ...; resolved?: ... | ... | ...; }; summary?: string; title?: string; url?: string; }
parameters.source.object.icon?{ link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }
parameters.source.object.icon.link?... | ...
parameters.source.object.icon.title?... | ...
parameters.source.object.icon.url16x16?... | ...
parameters.source.object.status?{ icon?: ... | ...; resolved?: ... | ... | ...; }
parameters.source.object.status.icon?... | ...
parameters.source.object.status.resolved?... | ... | ...
parameters.source.object.summary?string
parameters.source.object.title?string
parameters.source.object.url?string
parameters.source.relationship?string
parameters.target?{ application?: { name?: string; type?: string; }; globalId?: string; object?: { icon?: { link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }; status?: { icon?: ... | ...; resolved?: ... | ... | ...; }; summary?: string; title?: string; url?: string; }; relationship?: string; }
parameters.target.application?{ name?: string; type?: string; }
parameters.target.application.name?string
parameters.target.application.type?string
parameters.target.globalId?string
parameters.target.object?{ icon?: { link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }; status?: { icon?: ... | ...; resolved?: ... | ... | ...; }; summary?: string; title?: string; url?: string; }
parameters.target.object.icon?{ link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }
parameters.target.object.icon.link?... | ...
parameters.target.object.icon.title?... | ...
parameters.target.object.icon.url16x16?... | ...
parameters.target.object.status?{ icon?: ... | ...; resolved?: ... | ... | ...; }
parameters.target.object.status.icon?... | ...
parameters.target.object.status.resolved?... | ... | ...
parameters.target.object.summary?string
parameters.target.object.title?string
parameters.target.object.url?string
parameters.target.relationship?string
options?RequestOptions
Returns ​

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

issues.deleteComment ​

ts
deleteComment: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; issueIdOrKey: string; }-
parameters.idstringComment id
parameters.issueIdOrKey?stringIssue id or key
options?RequestOptions-
Returns ​

Promise<void>

issues.deleteIssue ​

ts
deleteIssue: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ deleteSubtasks?: string; issueIdOrKey: string; }-
parameters.deleteSubtasks?stringA String of true or false indicating that any subtasks should also be deleted. If the issue has no subtasks this parameter is ignored. If the issue has subtasks and this parameter is missing or false, then the issue will not be deleted and an error will be returned.
parameters.issueIdOrKey?stringIssue id or key
options?RequestOptions-
Returns ​

Promise<void>

issues.deleteIssueProperty ​

ts
deleteIssueProperty: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; propertyKey: string; }-
parameters.issueIdOrKeystringIssue id or key
parameters.propertyKey?stringThe key of the property to remove
options?RequestOptions-
Returns ​

Promise<void>

issues.deleteRemoteIssueLinkByGlobalId ​

ts
deleteRemoteIssueLinkByGlobalId: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ globalId: string; issueIdOrKey: string; }-
parameters.globalIdstringGlobal id of the remote issue link
parameters.issueIdOrKey?stringIssue id or key
options?RequestOptions-
Returns ​

Promise<void>

issues.deleteRemoteIssueLinkById ​

ts
deleteRemoteIssueLinkById: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; linkId: string; }-
parameters.issueIdOrKeystringIssue id or key
parameters.linkId?stringId of the remote issue link
options?RequestOptions-
Returns ​

Promise<void>

issues.deleteWorklog ​

ts
deleteWorklog: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ adjustEstimate?: string; id: string; increaseBy?: string; issueIdOrKey: string; newEstimate?: string; }-
parameters.adjustEstimate?stringAllows you to provide specific instructions to update the remaining time estimate of the issue. Valid values are: new, leave, manual, auto
parameters.id?stringId of the worklog to be deleted
parameters.increaseBy?stringRequired when 'manual' is selected for adjustEstimate. e.g. "2d"
parameters.issueIdOrKey?stringA string containing the issue id or key the worklog belongs to
parameters.newEstimate?stringRequired when 'new' is selected for adjustEstimate. e.g. "2d"
options?RequestOptions-
Returns ​

Promise<void>

issues.doTransition ​

ts
doTransition: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ fields?: Record<string, any>; historyMetadata?: { activityDescription?: string; activityDescriptionKey?: string; actor?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; cause?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; description?: string; descriptionKey?: string; emailDescription?: string; emailDescriptionKey?: string; extraData?: Record<string, string>; generator?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; type?: string; }; issueIdOrKey: string; properties?: object[]; transition?: { description?: string; fields?: Record<string, { allowedValues?: ...[]; autoCompleteUrl?: string; defaultValue?: Record<..., ...>; fieldId?: string; hasDefaultValue?: boolean; name?: string; operations?: ...[]; required?: boolean; schema?: { custom?: ...; customId?: ...; items?: ...; system?: ...; type?: ...; }; }>; id?: string; name?: string; opsbarSequence?: number; to?: { description?: string; iconUrl?: string; id?: string; name?: string; self?: string; statusCategory?: { colorName?: ... | ...; id?: ... | ...; key?: ... | ...; name?: ... | ...; self?: ... | ...; }; statusColor?: string; }; }; update?: Record<string, object[]>; }-
parameters.fields?Record<string, any>-
parameters.historyMetadata?{ activityDescription?: string; activityDescriptionKey?: string; actor?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; cause?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; description?: string; descriptionKey?: string; emailDescription?: string; emailDescriptionKey?: string; extraData?: Record<string, string>; generator?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; type?: string; }-
parameters.historyMetadata.activityDescription?string-
parameters.historyMetadata.activityDescriptionKey?string-
parameters.historyMetadata.actor?{ avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }-
parameters.historyMetadata.actor.avatarUrl?string-
parameters.historyMetadata.actor.displayName?string-
parameters.historyMetadata.actor.displayNameKey?string-
parameters.historyMetadata.actor.id?string-
parameters.historyMetadata.actor.type?string-
parameters.historyMetadata.actor.url?string-
parameters.historyMetadata.cause?{ avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }-
parameters.historyMetadata.cause.avatarUrl?string-
parameters.historyMetadata.cause.displayName?string-
parameters.historyMetadata.cause.displayNameKey?string-
parameters.historyMetadata.cause.id?string-
parameters.historyMetadata.cause.type?string-
parameters.historyMetadata.cause.url?string-
parameters.historyMetadata.description?string-
parameters.historyMetadata.descriptionKey?string-
parameters.historyMetadata.emailDescription?string-
parameters.historyMetadata.emailDescriptionKey?string-
parameters.historyMetadata.extraData?Record<string, string>-
parameters.historyMetadata.generator?{ avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }-
parameters.historyMetadata.generator.avatarUrl?string-
parameters.historyMetadata.generator.displayName?string-
parameters.historyMetadata.generator.displayNameKey?string-
parameters.historyMetadata.generator.id?string-
parameters.historyMetadata.generator.type?string-
parameters.historyMetadata.generator.url?string-
parameters.historyMetadata.type?string-
parameters.issueIdOrKey?stringIssue id or key
parameters.properties?object[]-
parameters.transition?{ description?: string; fields?: Record<string, { allowedValues?: ...[]; autoCompleteUrl?: string; defaultValue?: Record<..., ...>; fieldId?: string; hasDefaultValue?: boolean; name?: string; operations?: ...[]; required?: boolean; schema?: { custom?: ...; customId?: ...; items?: ...; system?: ...; type?: ...; }; }>; id?: string; name?: string; opsbarSequence?: number; to?: { description?: string; iconUrl?: string; id?: string; name?: string; self?: string; statusCategory?: { colorName?: ... | ...; id?: ... | ...; key?: ... | ...; name?: ... | ...; self?: ... | ...; }; statusColor?: string; }; }-
parameters.transition.description?string-
parameters.transition.fields?Record<string, { allowedValues?: ...[]; autoCompleteUrl?: string; defaultValue?: Record<..., ...>; fieldId?: string; hasDefaultValue?: boolean; name?: string; operations?: ...[]; required?: boolean; schema?: { custom?: ...; customId?: ...; items?: ...; system?: ...; type?: ...; }; }>-
parameters.transition.id?string-
parameters.transition.name?string-
parameters.transition.opsbarSequence?number-
parameters.transition.to?{ description?: string; iconUrl?: string; id?: string; name?: string; self?: string; statusCategory?: { colorName?: ... | ...; id?: ... | ...; key?: ... | ...; name?: ... | ...; self?: ... | ...; }; statusColor?: string; }-
parameters.transition.to.description?string-
parameters.transition.to.iconUrl?string-
parameters.transition.to.id?string-
parameters.transition.to.name?string-
parameters.transition.to.self?string-
parameters.transition.to.statusCategory?{ colorName?: ... | ...; id?: ... | ...; key?: ... | ...; name?: ... | ...; self?: ... | ...; }-
parameters.transition.to.statusCategory.colorName?... | ...-
parameters.transition.to.statusCategory.id?... | ...-
parameters.transition.to.statusCategory.key?... | ...-
parameters.transition.to.statusCategory.name?... | ...-
parameters.transition.to.statusCategory.self?... | ...-
parameters.transition.to.statusColor?string-
parameters.update?Record<string, object[]>-
options?RequestOptions-
Returns ​

Promise<void>

issues.editIssue ​

ts
editIssue: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ fields?: Record<string, any>; historyMetadata?: { activityDescription?: string; activityDescriptionKey?: string; actor?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; cause?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; description?: string; descriptionKey?: string; emailDescription?: string; emailDescriptionKey?: string; extraData?: Record<string, string>; generator?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; type?: string; }; issueIdOrKey: string; notifyUsers?: string; properties?: object[]; transition?: { description?: string; fields?: Record<string, { allowedValues?: ...[]; autoCompleteUrl?: string; defaultValue?: Record<..., ...>; fieldId?: string; hasDefaultValue?: boolean; name?: string; operations?: ...[]; required?: boolean; schema?: { custom?: ...; customId?: ...; items?: ...; system?: ...; type?: ...; }; }>; id?: string; name?: string; opsbarSequence?: number; to?: { description?: string; iconUrl?: string; id?: string; name?: string; self?: string; statusCategory?: { colorName?: ... | ...; id?: ... | ...; key?: ... | ...; name?: ... | ...; self?: ... | ...; }; statusColor?: string; }; }; update?: Record<string, object[]>; }-
parameters.fields?Record<string, any>-
parameters.historyMetadata?{ activityDescription?: string; activityDescriptionKey?: string; actor?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; cause?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; description?: string; descriptionKey?: string; emailDescription?: string; emailDescriptionKey?: string; extraData?: Record<string, string>; generator?: { avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }; type?: string; }-
parameters.historyMetadata.activityDescription?string-
parameters.historyMetadata.activityDescriptionKey?string-
parameters.historyMetadata.actor?{ avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }-
parameters.historyMetadata.actor.avatarUrl?string-
parameters.historyMetadata.actor.displayName?string-
parameters.historyMetadata.actor.displayNameKey?string-
parameters.historyMetadata.actor.id?string-
parameters.historyMetadata.actor.type?string-
parameters.historyMetadata.actor.url?string-
parameters.historyMetadata.cause?{ avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }-
parameters.historyMetadata.cause.avatarUrl?string-
parameters.historyMetadata.cause.displayName?string-
parameters.historyMetadata.cause.displayNameKey?string-
parameters.historyMetadata.cause.id?string-
parameters.historyMetadata.cause.type?string-
parameters.historyMetadata.cause.url?string-
parameters.historyMetadata.description?string-
parameters.historyMetadata.descriptionKey?string-
parameters.historyMetadata.emailDescription?string-
parameters.historyMetadata.emailDescriptionKey?string-
parameters.historyMetadata.extraData?Record<string, string>-
parameters.historyMetadata.generator?{ avatarUrl?: string; displayName?: string; displayNameKey?: string; id?: string; type?: string; url?: string; }-
parameters.historyMetadata.generator.avatarUrl?string-
parameters.historyMetadata.generator.displayName?string-
parameters.historyMetadata.generator.displayNameKey?string-
parameters.historyMetadata.generator.id?string-
parameters.historyMetadata.generator.type?string-
parameters.historyMetadata.generator.url?string-
parameters.historyMetadata.type?string-
parameters.issueIdOrKey?stringIssue id or key
parameters.notifyUsers?stringSend the email with notification that the issue was updated to users that watch it. Admin or project admin permissions are required to disable the notification.
parameters.properties?object[]-
parameters.transition?{ description?: string; fields?: Record<string, { allowedValues?: ...[]; autoCompleteUrl?: string; defaultValue?: Record<..., ...>; fieldId?: string; hasDefaultValue?: boolean; name?: string; operations?: ...[]; required?: boolean; schema?: { custom?: ...; customId?: ...; items?: ...; system?: ...; type?: ...; }; }>; id?: string; name?: string; opsbarSequence?: number; to?: { description?: string; iconUrl?: string; id?: string; name?: string; self?: string; statusCategory?: { colorName?: ... | ...; id?: ... | ...; key?: ... | ...; name?: ... | ...; self?: ... | ...; }; statusColor?: string; }; }-
parameters.transition.description?string-
parameters.transition.fields?Record<string, { allowedValues?: ...[]; autoCompleteUrl?: string; defaultValue?: Record<..., ...>; fieldId?: string; hasDefaultValue?: boolean; name?: string; operations?: ...[]; required?: boolean; schema?: { custom?: ...; customId?: ...; items?: ...; system?: ...; type?: ...; }; }>-
parameters.transition.id?string-
parameters.transition.name?string-
parameters.transition.opsbarSequence?number-
parameters.transition.to?{ description?: string; iconUrl?: string; id?: string; name?: string; self?: string; statusCategory?: { colorName?: ... | ...; id?: ... | ...; key?: ... | ...; name?: ... | ...; self?: ... | ...; }; statusColor?: string; }-
parameters.transition.to.description?string-
parameters.transition.to.iconUrl?string-
parameters.transition.to.id?string-
parameters.transition.to.name?string-
parameters.transition.to.self?string-
parameters.transition.to.statusCategory?{ colorName?: ... | ...; id?: ... | ...; key?: ... | ...; name?: ... | ...; self?: ... | ...; }-
parameters.transition.to.statusCategory.colorName?... | ...-
parameters.transition.to.statusCategory.id?... | ...-
parameters.transition.to.statusCategory.key?... | ...-
parameters.transition.to.statusCategory.name?... | ...-
parameters.transition.to.statusCategory.self?... | ...-
parameters.transition.to.statusColor?string-
parameters.update?Record<string, object[]>-
options?RequestOptions-
Returns ​

Promise<void>

issues.estimateIssueForBoard ​

ts
estimateIssueForBoard: (parameters, options?) => Promise<{
[key: string]: unknown;
  fieldId?: string;
  value?: Record<string, any>;
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId?: number; issueIdOrKey: string; value?: string; }-
parameters.boardId?numberThe id of the board required to determine which field is used for estimation.
parameters.issueIdOrKey?stringThe Id or key of the requested issue.
parameters.value?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; fieldId?: string; value?: Record<string, any>; }>

issues.getAgileIssue ​

ts
getAgileIssue: (parameters, options?) => Promise<{
[key: string]: unknown;
  changelog?: {
   [key: string]: unknown;
     histories?: object[];
     maxResults?: number;
     startAt?: number;
     total?: number;
  };
  editmeta?: {
   [key: string]: unknown;
     fields?: Record<string, {
      [key: string]: unknown;
        allowedValues?: ... | ...;
        autoCompleteUrl?: ... | ...;
        defaultValue?: ... | ...;
        fieldId?: ... | ...;
        hasDefaultValue?: ... | ... | ...;
        name?: ... | ...;
        operations?: ... | ...;
        required?: ... | ... | ...;
        schema?: ... | ...;
     }>;
  };
  fields?: Record<string, any>;
  fieldsToInclude?: {
   [key: string]: unknown;
     included?: string[];
  };
  id?: string;
  key?: string;
  names?: Record<string, string>;
  operations?: {
   [key: string]: unknown;
     linkGroups?: LinkGroup[];
  };
  properties?: {
   [key: string]: unknown;
     properties?: Record<string, string>;
  };
  renderedFields?: Record<string, any> | null;
  schema?: Record<string, {
   [key: string]: unknown;
     custom?: string;
     customId?: number;
     items?: string;
     system?: string;
     type?: string;
  }>;
  self?: string;
  transitionBeans?: object[];
  transitions?: object[];
  versionedRepresentations?: Record<string, any>;
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string | string[]; fields?: string | string[]; issueIdOrKey: string; updateHistory?: boolean; }-
parameters.expand?string | string[]A comma-separated list of the parameters to expand.
parameters.fields?string | string[]The list of fields to return for each issue. By default, all navigable and Agile fields are returned.
parameters.issueIdOrKey?stringThe Id or key of the requested issue.
parameters.updateHistory?booleanA boolean indicating whether the issue retrieved by this method should be added to the current user's issue history.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; changelog?: { [key: string]: unknown; histories?: object[]; maxResults?: number; startAt?: number; total?: number; }; editmeta?: { [key: string]: unknown; fields?: Record<string, { [key: string]: unknown; allowedValues?: ... | ...; autoCompleteUrl?: ... | ...; defaultValue?: ... | ...; fieldId?: ... | ...; hasDefaultValue?: ... | ... | ...; name?: ... | ...; operations?: ... | ...; required?: ... | ... | ...; schema?: ... | ...; }>; }; fields?: Record<string, any>; fieldsToInclude?: { [key: string]: unknown; included?: string[]; }; id?: string; key?: string; names?: Record<string, string>; operations?: { [key: string]: unknown; linkGroups?: LinkGroup[]; }; properties?: { [key: string]: unknown; properties?: Record<string, string>; }; renderedFields?: Record<string, any> | null; schema?: Record<string, { [key: string]: unknown; custom?: string; customId?: number; items?: string; system?: string; type?: string; }>; self?: string; transitionBeans?: object[]; transitions?: object[]; versionedRepresentations?: Record<string, any>; }>

issues.getComment ​

ts
getComment: (parameters, options?) => Promise<{
[key: string]: unknown;
  author?: {
   [key: string]: unknown;
     active?: boolean;
     avatarUrls?: Record<string, string>;
     displayName?: string;
     emailAddress?: string;
     key?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  body?: string;
  created?: string;
  id?: string;
  properties?: object[];
  renderedBody?: string;
  self?: string;
  updateAuthor?: {
   [key: string]: unknown;
     active?: boolean;
     avatarUrls?: Record<string, string>;
     displayName?: string;
     emailAddress?: string;
     key?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  updated?: string;
  visibility?: {
   [key: string]: unknown;
     type?: "role" | "group" | string & object;
     value?: string;
  };
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string; id: string; issueIdOrKey: string; }-
parameters.expand?stringOptional flags: renderedBody (provides body rendered in HTML)
parameters.id?stringComment id
parameters.issueIdOrKey?stringIssue id or key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; author?: { [key: string]: unknown; active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; body?: string; created?: string; id?: string; properties?: object[]; renderedBody?: string; self?: string; updateAuthor?: { [key: string]: unknown; active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; updated?: string; visibility?: { [key: string]: unknown; type?: "role" | "group" | string & object; value?: string; }; }>

issues.getComments ​

ts
getComments: (parameters, options?) => Promise<{
[key: string]: unknown;
  comments?: object[];
  maxResults?: number;
  startAt?: number;
  total?: number;
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string; issueIdOrKey: string; maxResults?: string; orderBy?: string; startAt?: string; }-
parameters.expand?stringOptional flags: renderedBody (provides body rendered in HTML)
parameters.issueIdOrKey?stringIssue id or key
parameters.maxResults?stringHow many results on the page should be included. Defaults to 50.
parameters.orderBy?stringOrdering of the results
parameters.startAt?stringThe page offset, if not specified then defaults to 0
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; comments?: object[]; maxResults?: number; startAt?: number; total?: number; }>

issues.getCreateIssueMetaFields ​

ts
getCreateIssueMetaFields: (parameters, options?) => Promise<{
[key: string]: unknown;
  isLast: boolean;
  maxResults: number;
  startAt: number;
  total?: number;
  values: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ issueTypeId: string; maxResults?: string; projectIdOrKey: string; startAt?: string; }-
parameters.issueTypeIdstringIssue type id
parameters.maxResults?stringHow many results on the page should be included
parameters.projectIdOrKey?stringProject id or key
parameters.startAt?stringThe page offset
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast: boolean; maxResults: number; startAt: number; total?: number; values: object[]; }>

issues.getCreateIssueMetaProjectIssueTypes ​

ts
getCreateIssueMetaProjectIssueTypes: (parameters, options?) => Promise<{
[key: string]: unknown;
  isLast: boolean;
  maxResults: number;
  startAt: number;
  total?: number;
  values: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ maxResults?: string; projectIdOrKey: string; startAt?: string; }-
parameters.maxResults?stringHow many results on the page should be included
parameters.projectIdOrKey?stringProject id or key
parameters.startAt?stringThe page offset
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast: boolean; maxResults: number; startAt: number; total?: number; values: object[]; }>

issues.getEditIssueMeta ​

ts
getEditIssueMeta: (parameters, options?) => Promise<{
[key: string]: unknown;
  fields?: Record<string, {
   [key: string]: unknown;
     allowedValues?: Record<..., ...>[];
     autoCompleteUrl?: string;
     defaultValue?: Record<string, any>;
     fieldId?: string;
     hasDefaultValue?: boolean;
     name?: string;
     operations?: string[];
     required?: boolean;
     schema?: {
      [key: string]: unknown;
        custom?: ... | ...;
        customId?: ... | ...;
        items?: ... | ...;
        system?: ... | ...;
        type?: ... | ...;
     };
  }>;
}>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; }-
parameters.issueIdOrKeystringIssue id or key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; fields?: Record<string, { [key: string]: unknown; allowedValues?: Record<..., ...>[]; autoCompleteUrl?: string; defaultValue?: Record<string, any>; fieldId?: string; hasDefaultValue?: boolean; name?: string; operations?: string[]; required?: boolean; schema?: { [key: string]: unknown; custom?: ... | ...; customId?: ... | ...; items?: ... | ...; system?: ... | ...; type?: ... | ...; }; }>; }>

issues.getIssue ​

ts
getIssue: (parameters, options?) => Promise<{
[key: string]: unknown;
  changelog?: {
   [key: string]: unknown;
     histories?: object[];
     maxResults?: number;
     startAt?: number;
     total?: number;
  };
  editmeta?: {
   [key: string]: unknown;
     fields?: Record<string, {
      [key: string]: unknown;
        allowedValues?: ... | ...;
        autoCompleteUrl?: ... | ...;
        defaultValue?: ... | ...;
        fieldId?: ... | ...;
        hasDefaultValue?: ... | ... | ...;
        name?: ... | ...;
        operations?: ... | ...;
        required?: ... | ... | ...;
        schema?: ... | ...;
     }>;
  };
  fields?: Record<string, any>;
  fieldsToInclude?: {
   [key: string]: unknown;
     included?: string[];
  };
  id?: string;
  key?: string;
  names?: Record<string, string>;
  operations?: {
   [key: string]: unknown;
     linkGroups?: LinkGroup[];
  };
  properties?: {
   [key: string]: unknown;
     properties?: Record<string, string>;
  };
  renderedFields?: Record<string, any> | null;
  schema?: Record<string, {
   [key: string]: unknown;
     custom?: string;
     customId?: number;
     items?: string;
     system?: string;
     type?: string;
  }>;
  self?: string;
  transitionBeans?: object[];
  transitions?: object[];
  versionedRepresentations?: Record<string, any>;
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string; fields?: string; issueIdOrKey: string; properties?: string; updateHistory?: string; }-
parameters.expand?stringThe expand param is used to include, hidden by default, parts of response. This can be used to include: renderedFields, names, schema, transitions, operations, editmeta, changelog, versionedRepresentations.
parameters.fields?stringThe list of fields to return for the issue. By default, all fields are returned.
parameters.issueIdOrKey?stringIssue id or key
parameters.properties?stringThe list of properties to return for the issue. By default no properties are returned.
parameters.updateHistory?stringThe updateHistory param adds the issues retrieved by this method to the current user's issue history
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; changelog?: { [key: string]: unknown; histories?: object[]; maxResults?: number; startAt?: number; total?: number; }; editmeta?: { [key: string]: unknown; fields?: Record<string, { [key: string]: unknown; allowedValues?: ... | ...; autoCompleteUrl?: ... | ...; defaultValue?: ... | ...; fieldId?: ... | ...; hasDefaultValue?: ... | ... | ...; name?: ... | ...; operations?: ... | ...; required?: ... | ... | ...; schema?: ... | ...; }>; }; fields?: Record<string, any>; fieldsToInclude?: { [key: string]: unknown; included?: string[]; }; id?: string; key?: string; names?: Record<string, string>; operations?: { [key: string]: unknown; linkGroups?: LinkGroup[]; }; properties?: { [key: string]: unknown; properties?: Record<string, string>; }; renderedFields?: Record<string, any> | null; schema?: Record<string, { [key: string]: unknown; custom?: string; customId?: number; items?: string; system?: string; type?: string; }>; self?: string; transitionBeans?: object[]; transitions?: object[]; versionedRepresentations?: Record<string, any>; }>

issues.getIssueEstimationForBoard ​

ts
getIssueEstimationForBoard: (parameters, options?) => Promise<{
[key: string]: unknown;
  fieldId?: string;
  value?: Record<string, any>;
}>;
Parameters ​
ParameterTypeDescription
parameters{ boardId?: number; issueIdOrKey: string; }-
parameters.boardId?numberThe id of the board required to determine which field is used for estimation.
parameters.issueIdOrKey?stringThe Id or key of the requested issue.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; fieldId?: string; value?: Record<string, any>; }>

issues.getIssuePickerResource ​

ts
getIssuePickerResource: (parameters?, options?) => Promise<{
[key: string]: unknown;
  sections?: object[];
}>;
Parameters ​
ParameterTypeDescription
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[]; }>

issues.getIssueProperty ​

ts
getIssueProperty: (parameters, options?) => Promise<{
[key: string]: unknown;
  key?: string;
  value?: unknown;
}>;
Parameters ​
ParameterTypeDescription
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; }>

issues.getIssuePropertyKeys ​

ts
getIssuePropertyKeys: (parameters, options?) => Promise<{
[key: string]: unknown;
  keys?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; }-
parameters.issueIdOrKeystringIssue id or key
options?RequestOptions-
Returns ​

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

issues.getIssueWatchers ​

ts
getIssueWatchers: (parameters, options?) => Promise<{
[key: string]: unknown;
  isWatching?: boolean;
  self?: string;
  watchCount?: number;
  watchers?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; }-
parameters.issueIdOrKeystringIssue id or key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isWatching?: boolean; self?: string; watchCount?: number; watchers?: object[]; }>

issues.getIssueWorklog ​

ts
getIssueWorklog: (parameters, options?) => Promise<{
[key: string]: unknown;
  maxResults?: number;
  startAt?: number;
  total?: number;
  worklogs?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; }-
parameters.issueIdOrKeystringIssue id or key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; maxResults?: number; startAt?: number; total?: number; worklogs?: object[]; }>

issues.getPinnedComments ​

ts
getPinnedComments: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; }-
parameters.issueIdOrKeystringIssue id or key
options?RequestOptions-
Returns ​

Promise<object[]>

issues.getRemoteIssueLinkById ​

ts
getRemoteIssueLinkById: (parameters, options?) => Promise<{
[key: string]: unknown;
}>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; linkId: string; }-
parameters.issueIdOrKeystringIssue id or key
parameters.linkId?stringId of the remote issue link
options?RequestOptions-
Returns ​

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

ts
getRemoteIssueLinks: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ globalId?: string; issueIdOrKey: string; }-
parameters.globalId?stringGlobal id of the remote issue link
parameters.issueIdOrKey?stringIssue id or key
options?RequestOptions-
Returns ​

Promise<object[]>

issues.getSubTasks ​

ts
getSubTasks: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; }-
parameters.issueIdOrKeystringThe parent issue's key or id
options?RequestOptions-
Returns ​

Promise<object[]>

issues.getTransitions ​

ts
getTransitions: (parameters, options?) => Promise<{
[key: string]: unknown;
  transitions?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; transitionId?: string; }-
parameters.issueIdOrKeystringIssue id or key
parameters.transitionId?stringTransition id
options?RequestOptions-
Returns ​

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

issues.getVotes ​

ts
getVotes: (parameters, options?) => Promise<{
[key: string]: unknown;
  hasVoted?: boolean;
  self?: string;
  voters?: object[];
  votes?: number;
}>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; }-
parameters.issueIdOrKeystringIssue id or key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; hasVoted?: boolean; self?: string; voters?: object[]; votes?: number; }>

issues.getWorklog ​

ts
getWorklog: (parameters, options?) => Promise<{
[key: string]: unknown;
  author?: {
   [key: string]: unknown;
     active?: boolean;
     avatarUrls?: Record<string, string>;
     displayName?: string;
     emailAddress?: string;
     key?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  comment?: string;
  created?: string;
  id?: string;
  issueId?: string;
  self?: string;
  started?: string;
  timeSpent?: string;
  timeSpentSeconds?: number;
  updateAuthor?: {
   [key: string]: unknown;
     active?: boolean;
     avatarUrls?: Record<string, string>;
     displayName?: string;
     emailAddress?: string;
     key?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  updated?: string;
  visibility?: {
   [key: string]: unknown;
     type?: "role" | "group" | string & object;
     value?: string;
  };
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; issueIdOrKey: string; }-
parameters.idstringWorklog id
parameters.issueIdOrKey?stringIssue id or key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; author?: { [key: string]: unknown; active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; comment?: string; created?: string; id?: string; issueId?: string; self?: string; started?: string; timeSpent?: string; timeSpentSeconds?: number; updateAuthor?: { [key: string]: unknown; active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; updated?: string; visibility?: { [key: string]: unknown; type?: "role" | "group" | string & object; value?: string; }; }>

issues.moveSubTasks ​

ts
moveSubTasks: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ current?: number; issueIdOrKey: string; original?: number; }-
parameters.current?number-
parameters.issueIdOrKey?stringThe parent issue's key or id
parameters.original?number-
options?RequestOptions-
Returns ​

Promise<void>

issues.notify ​

ts
notify: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ htmlBody?: string; issueIdOrKey: string; restrict?: { groups?: object[]; permissions?: object[]; }; subject?: string; textBody?: string; to?: { assignee?: boolean; groups?: object[]; reporter?: boolean; users?: object[]; voters?: boolean; watchers?: boolean; }; }-
parameters.htmlBody?string-
parameters.issueIdOrKey?stringIssue id or key
parameters.restrict?{ groups?: object[]; permissions?: object[]; }-
parameters.restrict.groups?object[]-
parameters.restrict.permissions?object[]-
parameters.subject?string-
parameters.textBody?string-
parameters.to?{ assignee?: boolean; groups?: object[]; reporter?: boolean; users?: object[]; voters?: boolean; watchers?: boolean; }-
parameters.to.assignee?boolean-
parameters.to.groups?object[]-
parameters.to.reporter?boolean-
parameters.to.users?object[]-
parameters.to.voters?boolean-
parameters.to.watchers?boolean-
options?RequestOptions-
Returns ​

Promise<void>

issues.rankIssues ​

ts
rankIssues: (parameters, options?) => Promise<
  | {
[key: string]: unknown;
  entries?: object[];
}
| undefined>;
Parameters ​
ParameterType
parameters{ issues?: string[]; rankAfterIssue?: string; rankBeforeIssue?: string; rankCustomFieldId?: number; }
parameters.issues?string[]
parameters.rankAfterIssue?string
parameters.rankBeforeIssue?string
parameters.rankCustomFieldId?number
options?RequestOptions
Returns ​

Promise< | { [key: string]: unknown; entries?: object[]; } | undefined>

issues.removeVote ​

ts
removeVote: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; }-
parameters.issueIdOrKeystringIssue id or key
options?RequestOptions-
Returns ​

Promise<void>

issues.removeWatcher ​

ts
removeWatcher: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; username?: string; userName?: string; }-
parameters.issueIdOrKeystringIssue id or key
parameters.username?string-
parameters.userName?stringThe name of the user to remove from the watcher list.
options?RequestOptions-
Returns ​

Promise<void>

issues.restoreIssue ​

ts
restoreIssue: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ issueIdOrKey: string; notifyUsers?: string; }-
parameters.issueIdOrKeystringIssue id or key
parameters.notifyUsers?stringSend the email with notification that the issue was updated to users that watch it. Admin or project admin permissions are required to disable the notification.
options?RequestOptions-
Returns ​

Promise<void>

issues.setIssueProperty ​

ts
setIssueProperty: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ body: Record<string, any>; issueIdOrKey: string; propertyKey: string; }-
parameters.bodyRecord<string, any>-
parameters.issueIdOrKey?stringIssue id or key
parameters.propertyKey?stringThe key of the issue's property
options?RequestOptions-
Returns ​

Promise<void>

issues.setPinComment ​

ts
setPinComment: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ body: boolean; id: string; issueIdOrKey: string; }-
parameters.bodyboolean-
parameters.id?stringComment id
parameters.issueIdOrKey?stringIssue id or key
options?RequestOptions-
Returns ​

Promise<void>

issues.updateComment ​

ts
updateComment: (parameters, options?) => Promise<{
[key: string]: unknown;
  author?: {
   [key: string]: unknown;
     active?: boolean;
     avatarUrls?: Record<string, string>;
     displayName?: string;
     emailAddress?: string;
     key?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  body?: string;
  created?: string;
  id?: string;
  properties?: object[];
  renderedBody?: string;
  self?: string;
  updateAuthor?: {
   [key: string]: unknown;
     active?: boolean;
     avatarUrls?: Record<string, string>;
     displayName?: string;
     emailAddress?: string;
     key?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  updated?: string;
  visibility?: {
   [key: string]: unknown;
     type?: "role" | "group" | string & object;
     value?: string;
  };
}>;
Parameters ​
ParameterTypeDescription
parameters{ body?: { author?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; body?: string; created?: string; id?: string; properties?: object[]; renderedBody?: string; self?: string; updateAuthor?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; updated?: string; visibility?: { type?: "role" | "group" | string & object; value?: string; }; }; expand?: string; id: string; issueIdOrKey: string; }-
parameters.body?{ author?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; body?: string; created?: string; id?: string; properties?: object[]; renderedBody?: string; self?: string; updateAuthor?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; updated?: string; visibility?: { type?: "role" | "group" | string & object; value?: string; }; }-
parameters.body.author?{ active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }-
parameters.body.author.active?boolean-
parameters.body.author.avatarUrls?Record<string, string>-
parameters.body.author.displayName?string-
parameters.body.author.emailAddress?string-
parameters.body.author.key?string-
parameters.body.author.name?string-
parameters.body.author.self?string-
parameters.body.author.timeZone?string-
parameters.body.body?string-
parameters.body.created?string-
parameters.body.id?string-
parameters.body.properties?object[]-
parameters.body.renderedBody?string-
parameters.body.self?string-
parameters.body.updateAuthor?{ active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }-
parameters.body.updateAuthor.active?boolean-
parameters.body.updateAuthor.avatarUrls?Record<string, string>-
parameters.body.updateAuthor.displayName?string-
parameters.body.updateAuthor.emailAddress?string-
parameters.body.updateAuthor.key?string-
parameters.body.updateAuthor.name?string-
parameters.body.updateAuthor.self?string-
parameters.body.updateAuthor.timeZone?string-
parameters.body.updated?string-
parameters.body.visibility?{ type?: "role" | "group" | string & object; value?: string; }-
parameters.body.visibility.type?"role" | "group" | string & object-
parameters.body.visibility.value?string-
parameters.expand?stringOptional flags: renderedBody (provides body rendered in HTML)
parameters.id?stringComment id
parameters.issueIdOrKey?stringIssue id or key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; author?: { [key: string]: unknown; active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; body?: string; created?: string; id?: string; properties?: object[]; renderedBody?: string; self?: string; updateAuthor?: { [key: string]: unknown; active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; updated?: string; visibility?: { [key: string]: unknown; type?: "role" | "group" | string & object; value?: string; }; }>

ts
updateRemoteIssueLink: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ application?: { name?: string; type?: string; }; globalId?: string; issueIdOrKey: string; linkId: string; object?: { icon?: { link?: string; title?: string; url16x16?: string; }; status?: { icon?: { link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }; resolved?: boolean; }; summary?: string; title?: string; url?: string; }; relationship?: string; }-
parameters.application?{ name?: string; type?: string; }-
parameters.application.name?string-
parameters.application.type?string-
parameters.globalId?string-
parameters.issueIdOrKey?stringIssue id or key
parameters.linkId?stringId of the remote issue link
parameters.object?{ icon?: { link?: string; title?: string; url16x16?: string; }; status?: { icon?: { link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }; resolved?: boolean; }; summary?: string; title?: string; url?: string; }-
parameters.object.icon?{ link?: string; title?: string; url16x16?: string; }-
parameters.object.icon.link?string-
parameters.object.icon.title?string-
parameters.object.icon.url16x16?string-
parameters.object.status?{ icon?: { link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }; resolved?: boolean; }-
parameters.object.status.icon?{ link?: ... | ...; title?: ... | ...; url16x16?: ... | ...; }-
parameters.object.status.icon.link?... | ...-
parameters.object.status.icon.title?... | ...-
parameters.object.status.icon.url16x16?... | ...-
parameters.object.status.resolved?boolean-
parameters.object.summary?string-
parameters.object.title?string-
parameters.object.url?string-
parameters.relationship?string-
options?RequestOptions-
Returns ​

Promise<void>

issues.updateWorklog ​

ts
updateWorklog: (parameters, options?) => Promise<{
[key: string]: unknown;
  author?: {
   [key: string]: unknown;
     active?: boolean;
     avatarUrls?: Record<string, string>;
     displayName?: string;
     emailAddress?: string;
     key?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  comment?: string;
  created?: string;
  id?: string;
  issueId?: string;
  self?: string;
  started?: string;
  timeSpent?: string;
  timeSpentSeconds?: number;
  updateAuthor?: {
   [key: string]: unknown;
     active?: boolean;
     avatarUrls?: Record<string, string>;
     displayName?: string;
     emailAddress?: string;
     key?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  updated?: string;
  visibility?: {
   [key: string]: unknown;
     type?: "role" | "group" | string & object;
     value?: string;
  };
}>;
Parameters ​
ParameterTypeDescription
parameters{ adjustEstimate?: string; body?: { author?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; comment?: string; created?: string; id?: string; issueId?: string; self?: string; started?: string; timeSpent?: string; timeSpentSeconds?: number; updateAuthor?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; updated?: string; visibility?: { type?: "role" | "group" | string & object; value?: string; }; }; id: string; issueIdOrKey: string; newEstimate?: string; }-
parameters.adjustEstimate?stringAllows you to provide specific instructions to update the remaining time estimate of the issue. Valid values are: new, leave, auto
parameters.body?{ author?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; comment?: string; created?: string; id?: string; issueId?: string; self?: string; started?: string; timeSpent?: string; timeSpentSeconds?: number; updateAuthor?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; updated?: string; visibility?: { type?: "role" | "group" | string & object; value?: string; }; }-
parameters.body.author?{ active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }-
parameters.body.author.active?boolean-
parameters.body.author.avatarUrls?Record<string, string>-
parameters.body.author.displayName?string-
parameters.body.author.emailAddress?string-
parameters.body.author.key?string-
parameters.body.author.name?string-
parameters.body.author.self?string-
parameters.body.author.timeZone?string-
parameters.body.comment?string-
parameters.body.created?string-
parameters.body.id?string-
parameters.body.issueId?string-
parameters.body.self?string-
parameters.body.started?string-
parameters.body.timeSpent?string-
parameters.body.timeSpentSeconds?number-
parameters.body.updateAuthor?{ active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }-
parameters.body.updateAuthor.active?boolean-
parameters.body.updateAuthor.avatarUrls?Record<string, string>-
parameters.body.updateAuthor.displayName?string-
parameters.body.updateAuthor.emailAddress?string-
parameters.body.updateAuthor.key?string-
parameters.body.updateAuthor.name?string-
parameters.body.updateAuthor.self?string-
parameters.body.updateAuthor.timeZone?string-
parameters.body.updated?string-
parameters.body.visibility?{ type?: "role" | "group" | string & object; value?: string; }-
parameters.body.visibility.type?"role" | "group" | string & object-
parameters.body.visibility.value?string-
parameters.id?stringId of the worklog to be updated
parameters.issueIdOrKey?stringA string containing the issue id or key the worklog belongs to
parameters.newEstimate?stringRequired when 'new' is selected for adjustEstimate
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; author?: { [key: string]: unknown; active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; comment?: string; created?: string; id?: string; issueId?: string; self?: string; started?: string; timeSpent?: string; timeSpentSeconds?: number; updateAuthor?: { [key: string]: unknown; active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; updated?: string; visibility?: { [key: string]: unknown; type?: "role" | "group" | string & object; value?: string; }; }>

issueSearch ​

ts
issueSearch: object;

issueSearch.getError ​

ts
getError: (options?) => Promise<
  | {
[key: string]: unknown;
  errorStringI18n?: string;
}
| undefined>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise< | { [key: string]: unknown; errorStringI18n?: string; } | undefined>

ts
search: (parameters?, options?) => Promise<{
[key: string]: unknown;
  expand?: string | null;
  issues?: object[];
  maxResults?: number;
  maxResultWindow?: number;
  names?: Record<string, string> | null;
  schema?:   | Record<string, {
   [key: string]: unknown;
     custom?: string;
     customId?: number;
     items?: string;
     system?: string;
     type?: string;
   }>
     | null;
  startAt?: number;
  total?: number;
  warningMessages?: string[] | null;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ expand?: string | string[]; fields?: string | string[]; jql?: string; maxResults?: number; startAt?: number; validateQuery?: boolean; }-
parameters.expand?string | string[]A comma-separated list of the parameters to expand
parameters.fields?string | string[]The list of fields to return for each issue
parameters.jql?stringA JQL query string
parameters.maxResults?numberThe maximum number of issues to return (defaults to 50)
parameters.startAt?numberThe index of the first issue to return (0-based)
parameters.validateQuery?booleanWhether to validate the JQL query
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; expand?: string | null; issues?: object[]; maxResults?: number; maxResultWindow?: number; names?: Record<string, string> | null; schema?: | Record<string, { [key: string]: unknown; custom?: string; customId?: number; items?: string; system?: string; type?: string; }> | null; startAt?: number; total?: number; warningMessages?: string[] | null; }>

issueSearch.searchUsingSearchRequest ​

ts
searchUsingSearchRequest: (parameters, options?) => Promise<{
[key: string]: unknown;
  expand?: string | null;
  issues?: object[];
  maxResults?: number;
  maxResultWindow?: number;
  names?: Record<string, string> | null;
  schema?:   | Record<string, {
   [key: string]: unknown;
     custom?: string;
     customId?: number;
     items?: string;
     system?: string;
     type?: string;
   }>
     | null;
  startAt?: number;
  total?: number;
  warningMessages?: string[] | null;
}>;
Parameters ​
ParameterType
parameters{ expand?: string[]; fields?: string[]; jql?: string; maxResults?: number; startAt?: number; validateQuery?: boolean; }
parameters.expand?string[]
parameters.fields?string[]
parameters.jql?string
parameters.maxResults?number
parameters.startAt?number
parameters.validateQuery?boolean
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; expand?: string | null; issues?: object[]; maxResults?: number; maxResultWindow?: number; names?: Record<string, string> | null; schema?: | Record<string, { [key: string]: unknown; custom?: string; customId?: number; items?: string; system?: string; type?: string; }> | null; startAt?: number; total?: number; warningMessages?: string[] | null; }>

issueSecurityLevel ​

ts
issueSecurityLevel: object;

issueSecurityLevel.getIssueSecurityLevel ​

ts
getIssueSecurityLevel: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  id?: string;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringAn issue security level id
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; description?: string; id?: string; name?: string; self?: string; }>

issueSecuritySchemes ​

ts
issueSecuritySchemes: object;

issueSecuritySchemes.getIssueSecurityScheme ​

ts
getIssueSecurityScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultSecurityLevelId?: number;
  description?: string;
  id?: number;
  levels?: object[];
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe issue security scheme id.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultSecurityLevelId?: number; description?: string; id?: number; levels?: object[]; name?: string; self?: string; }>

issueSecuritySchemes.getIssueSecuritySchemes ​

ts
getIssueSecuritySchemes: (options?) => Promise<{
[key: string]: unknown;
  issueSecuritySchemes?: object[];
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

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

issueTypes ​

ts
issueTypes: object;

issueTypes.createIssueType ​

ts
createIssueType: (parameters, options?) => Promise<{
[key: string]: unknown;
  avatarId?: number;
  description?: string;
  iconUrl?: string;
  id?: string;
  name?: string;
  self?: string;
  subtask?: boolean;
}>;
Parameters ​
ParameterType
parameters{ description?: string; name?: string; type?: "standard" | string & object | "subtask"; }
parameters.description?string
parameters.name?string
parameters.type?"standard" | string & object | "subtask"
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>

issueTypes.createIssueTypeAvatarFromTemporary ​

ts
createIssueTypeAvatarFromTemporary: (parameters, options?) => Promise<{
[key: string]: unknown;
  fileName?: string;
  id?: string;
  isDeletable?: boolean;
  isSelected?: boolean;
  isSystemAvatar?: boolean;
  owner?: string;
  selected?: boolean;
  urls?: Record<string, string>;
}>;
Parameters ​
ParameterTypeDescription
parameters{ cropperOffsetX?: number; cropperOffsetY?: number; cropperWidth?: number; id: string; needsCropping?: boolean; url?: string; }-
parameters.cropperOffsetX?number-
parameters.cropperOffsetY?number-
parameters.cropperWidth?number-
parameters.id?stringThe issue type id.
parameters.needsCropping?boolean-
parameters.url?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; fileName?: string; id?: string; isDeletable?: boolean; isSelected?: boolean; isSystemAvatar?: boolean; owner?: string; selected?: boolean; urls?: Record<string, string>; }>

issueTypes.deleteIssueType ​

ts
deleteIssueType: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ alternativeIssueTypeId?: string; id: string; }-
parameters.alternativeIssueTypeId?stringThe id of an issue type to which issues associated with the removed issue type will be migrated.
parameters.id?stringThe issue type id.
options?RequestOptions-
Returns ​

Promise<void>

issueTypes.deleteIssueTypeProperty ​

ts
deleteIssueTypeProperty: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ issueTypeId: string; propertyKey: string; }-
parameters.issueTypeIdstringThe issue type from which the property will be removed.
parameters.propertyKey?stringThe key of the property to remove.
options?RequestOptions-
Returns ​

Promise<void>

issueTypes.getAlternativeIssueTypes ​

ts
getAlternativeIssueTypes: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe issue type id.
options?RequestOptions-
Returns ​

Promise<object[]>

issueTypes.getIssueAllTypes ​

ts
getIssueAllTypes: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>

issueTypes.getIssueType ​

ts
getIssueType: (parameters, options?) => Promise<{
[key: string]: unknown;
  avatarId?: number;
  description?: string;
  iconUrl?: string;
  id?: string;
  name?: string;
  self?: string;
  subtask?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe issue type id.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>

issueTypes.getIssueTypeProperty ​

ts
getIssueTypeProperty: (parameters, options?) => Promise<{
[key: string]: unknown;
  key?: string;
  value?: unknown;
}>;
Parameters ​
ParameterTypeDescription
parameters{ issueTypeId: string; propertyKey: string; }-
parameters.issueTypeIdstringThe issue type from which the property will be returned.
parameters.propertyKey?stringThe key of the property to return.
options?RequestOptions-
Returns ​

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

issueTypes.getIssueTypePropertyKeys ​

ts
getIssueTypePropertyKeys: (parameters, options?) => Promise<{
[key: string]: unknown;
  keys?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ issueTypeId: string; }-
parameters.issueTypeIdstringThe issue type from which the keys will be returned.
options?RequestOptions-
Returns ​

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

issueTypes.getPaginatedIssueTypes ​

ts
getPaginatedIssueTypes: (parameters?, options?) => Promise<{
[key: string]: unknown;
  isLast: boolean;
  maxResults: number;
  startAt: number;
  total?: number;
  values: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ maxResults?: number; projectIds?: number[]; query?: string; startAt?: number; X-Requested-With?: string; }-
parameters.maxResults?numberThe maximum number of issue types to return.
parameters.projectIds?number[]The set of project ids to filter issue types.
parameters.query?stringThe string that issue type names will be matched with.
parameters.startAt?numberThe index of the first issue type to return.
parameters.X-Requested-With?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast: boolean; maxResults: number; startAt: number; total?: number; values: object[]; }>

issueTypes.setIssueTypeProperty ​

ts
setIssueTypeProperty: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ body: Record<string, any>; issueTypeId: string; propertyKey: string; }-
parameters.bodyRecord<string, any>-
parameters.issueTypeId?stringThe issue type on which the property will be set.
parameters.propertyKey?stringThe key of the issue type's property. The maximum length of the key is 255 bytes
options?RequestOptions-
Returns ​

Promise<void>

issueTypes.storeTemporaryIssueTypeAvatarUsingMultiPart ​

ts
storeTemporaryIssueTypeAvatarUsingMultiPart: (parameters, options?) => Promise<unknown>;
Parameters ​
ParameterTypeDescription
parameters{ avatar: | AttachmentInput | AttachmentInput[]; id: string; }-
parameters.avatar| AttachmentInput | AttachmentInput[]-
parameters.id?stringThe issue type id.
options?RequestOptions-
Returns ​

Promise<unknown>

issueTypes.updateIssueType ​

ts
updateIssueType: (parameters, options?) => Promise<{
[key: string]: unknown;
  avatarId?: number;
  description?: string;
  iconUrl?: string;
  id?: string;
  name?: string;
  self?: string;
  subtask?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ avatarId?: number; description?: string; id: string; name?: string; }-
parameters.avatarId?number-
parameters.description?string-
parameters.id?stringThe issue type id.
parameters.name?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>

issueTypeSchemes ​

ts
issueTypeSchemes: object;

issueTypeSchemes.addProjectAssociationsToScheme ​

ts
addProjectAssociationsToScheme: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ idsOrKeys?: string[]; schemeId: string; }-
parameters.idsOrKeys?string[]-
parameters.schemeId?stringThe id of the issue type scheme whose project associations we're adding to.
options?RequestOptions-
Returns ​

Promise<void>

issueTypeSchemes.createIssueTypeScheme ​

ts
createIssueTypeScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultIssueType?: {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  };
  description?: string;
  expand?: string;
  id?: string;
  issueTypes?: object[];
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterType
parameters{ defaultIssueTypeId?: string; description?: string; issueTypeIds?: string[]; issueTypeIDs?: string[]; name?: string; }
parameters.defaultIssueTypeId?string
parameters.description?string
parameters.issueTypeIds?string[]
parameters.issueTypeIDs?string[]
parameters.name?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; defaultIssueType?: { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }; description?: string; expand?: string; id?: string; issueTypes?: object[]; name?: string; self?: string; }>

issueTypeSchemes.deleteIssueTypeScheme ​

ts
deleteIssueTypeScheme: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ schemeId: string; }-
parameters.schemeIdstringThe id of the issue type scheme to remove.
options?RequestOptions-
Returns ​

Promise<void>

issueTypeSchemes.getAllIssueTypeSchemes ​

ts
getAllIssueTypeSchemes: (options?) => Promise<{
[key: string]: unknown;
  schemes?: object[];
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

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

issueTypeSchemes.getAssociatedProjects ​

ts
getAssociatedProjects: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string; schemeId: string; }-
parameters.expand?string-
parameters.schemeId?stringId of the issue type scheme whose projects we're accessing
options?RequestOptions-
Returns ​

Promise<object[]>

issueTypeSchemes.getIssueTypeScheme ​

ts
getIssueTypeScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultIssueType?: {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  };
  description?: string;
  expand?: string;
  id?: string;
  issueTypes?: object[];
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ schemeId: string; }-
parameters.schemeIdstringA String containing an issue type scheme's id.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultIssueType?: { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }; description?: string; expand?: string; id?: string; issueTypes?: object[]; name?: string; self?: string; }>

issueTypeSchemes.removeAllProjectAssociations ​

ts
removeAllProjectAssociations: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ schemeId: string; }-
parameters.schemeIdstringThe id of the issue type scheme whose project associations we're removing
options?RequestOptions-
Returns ​

Promise<void>

issueTypeSchemes.removeProjectAssociation ​

ts
removeProjectAssociation: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ projIdOrKey: string; schemeId: string; }-
parameters.projIdOrKeystringThe id or key of the project that is to be un-associated with the issue type scheme
parameters.schemeId?stringThe id of the issue type scheme whose project association we're removing
options?RequestOptions-
Returns ​

Promise<void>

issueTypeSchemes.setProjectAssociationsForScheme ​

ts
setProjectAssociationsForScheme: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ idsOrKeys?: string[]; schemeId: string; }-
parameters.idsOrKeys?string[]-
parameters.schemeId?stringThe id of the issue type scheme whose project associations we're replacing.
options?RequestOptions-
Returns ​

Promise<void>

issueTypeSchemes.updateIssueTypeScheme ​

ts
updateIssueTypeScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultIssueType?: {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  };
  description?: string;
  expand?: string;
  id?: string;
  issueTypes?: object[];
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ defaultIssueTypeId?: string; description?: string; issueTypeIds?: string[]; issueTypeIDs?: string[]; name?: string; schemeId: string; }-
parameters.defaultIssueTypeId?string-
parameters.description?string-
parameters.issueTypeIds?string[]-
parameters.issueTypeIDs?string[]-
parameters.name?string-
parameters.schemeId?stringThe id of the issue type scheme to update.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultIssueType?: { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }; description?: string; expand?: string; id?: string; issueTypes?: object[]; name?: string; self?: string; }>

issueWorklogs ​

ts
issueWorklogs: object;

issueWorklogs.getIdsOfWorklogsDeletedSince ​

ts
getIdsOfWorklogsDeletedSince: (parameters?, options?) => Promise<{
[key: string]: unknown;
  isLastPage?: boolean;
  lastPage?: boolean;
  nextPage?: string;
  self?: string;
  since?: number;
  until?: number;
  values?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ since?: number; }-
parameters.since?numberA date time in unix timestamp format since when deleted worklogs will be returned.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLastPage?: boolean; lastPage?: boolean; nextPage?: string; self?: string; since?: number; until?: number; values?: object[]; }>

issueWorklogs.getIdsOfWorklogsModifiedSince ​

ts
getIdsOfWorklogsModifiedSince: (parameters?, options?) => Promise<{
[key: string]: unknown;
  isLastPage?: boolean;
  lastPage?: boolean;
  nextPage?: string;
  self?: string;
  since?: number;
  until?: number;
  values?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ since?: number; }-
parameters.since?numberA date time in unix timestamp format since when updated worklogs will be returned.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLastPage?: boolean; lastPage?: boolean; nextPage?: string; self?: string; since?: number; until?: number; values?: object[]; }>

issueWorklogs.getWorklogsForIds ​

ts
getWorklogsForIds: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ ids?: number[]; }-
parameters.ids?number[]List of worklog ids
options?RequestOptions-
Returns ​

Promise<object[]>

jiraSettings ​

ts
jiraSettings: object;

jiraSettings.getIssueNavigatorDefaultColumns ​

ts
getIssueNavigatorDefaultColumns: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>

jiraSettings.setBaseURL ​

ts
setBaseURL: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ body?: string; }
parameters.body?string
options?RequestOptions
Returns ​

Promise<void>

jiraSettings.setIssueNavigatorDefaultColumnsForm ​

ts
setIssueNavigatorDefaultColumnsForm: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ columns?: string[]; }
parameters.columns?string[]
options?RequestOptions
Returns ​

Promise<void>

jql ​

ts
jql: object;

jql.getAutoComplete ​

ts
getAutoComplete: (options?) => Promise<{
[key: string]: unknown;
  jqlReservedWords?: string[];
  visibleFieldNames?: object[];
  visibleFunctionNames?: object[];
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; jqlReservedWords?: string[]; visibleFieldNames?: object[]; visibleFunctionNames?: object[]; }>

jql.getFieldAutoCompleteForQueryString ​

ts
getFieldAutoCompleteForQueryString: (parameters?, options?) => Promise<{
[key: string]: unknown;
  results?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ fieldName?: string; fieldValue?: string; predicateName?: string; predicateValue?: string; }-
parameters.fieldName?stringThe field name for which the suggestions are generated.
parameters.fieldValue?stringThe portion of the field value that has already been provided by the user.
parameters.predicateName?stringThe predicate for which the suggestions are generated. Suggestions are generated only for: "by", "from" and "to".
parameters.predicateValue?stringThe portion of the predicate value that has already been provided by the user.
options?RequestOptions-
Returns ​

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

licenseValidator ​

ts
licenseValidator: object;

licenseValidator.validate ​

ts
validate: (parameters, options?) => Promise<{
[key: string]: unknown;
  errors?: Record<string, string>;
  licenseString?: string;
}>;
Parameters ​
ParameterType
parameters{ body: string; }
parameters.bodystring
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; errors?: Record<string, string>; licenseString?: string; }>

monitoring ​

ts
monitoring: object;

monitoring.areMetricsExposed ​

ts
areMetricsExposed: (options?) => Promise<boolean>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<boolean>

monitoring.getAvailableMetrics ​

ts
getAvailableMetrics: (options?) => Promise<string[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<string[]>

monitoring.isAppMonitoringEnabled ​

ts
isAppMonitoringEnabled: (options?) => Promise<{
[key: string]: unknown;
  enabled?: boolean;
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

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

monitoring.isIpdMonitoringEnabled ​

ts
isIpdMonitoringEnabled: (options?) => Promise<{
[key: string]: unknown;
  enabled?: boolean;
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

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

monitoring.setAppMonitoringEnabled ​

ts
setAppMonitoringEnabled: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ enabled?: boolean; }
parameters.enabled?boolean
options?RequestOptions
Returns ​

Promise<void>

monitoring.setIpdMonitoringEnabled ​

ts
setIpdMonitoringEnabled: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ enabled?: boolean; }
parameters.enabled?boolean
options?RequestOptions
Returns ​

Promise<void>

monitoring.start ​

ts
start: (options?) => Promise<void>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<void>

monitoring.stop ​

ts
stop: (options?) => Promise<void>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<void>

myPreferences ​

ts
myPreferences: object;

myPreferences.getPreference ​

ts
getPreference: (parameters?, options?) => Promise<string>;
Parameters ​
ParameterTypeDescription
parameters?{ key?: string; }-
parameters.key?stringKey of the preference to be returned.
options?RequestOptions-
Returns ​

Promise<string>

myPreferences.removePreference ​

ts
removePreference: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ key?: string; }-
parameters.key?stringKey of the preference to be removed.
options?RequestOptions-
Returns ​

Promise<void>

myPreferences.setPreference ​

ts
setPreference: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ body?: string; key?: string; }-
parameters.body?string-
parameters.key?stringKey of the preference to be set.
options?RequestOptions-
Returns ​

Promise<void>

myself ​

ts
myself: object;

myself.changeMyPassword ​

ts
changeMyPassword: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ currentPassword?: string; password?: string; }
parameters.currentPassword?string
parameters.password?string
options?RequestOptions
Returns ​

Promise<void>

myself.getCurrentUser ​

ts
getCurrentUser: (options?) => Promise<{
[key: string]: unknown;
  active?: boolean;
  applicationRoles?: {
   [key: string]: unknown;
     callback?: {
      [key: string]: unknown;
     };
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  avatarUrls?: Record<string, string>;
  deleted?: boolean;
  displayName?: string;
  emailAddress?: string;
  expand?: string;
  groups?: {
   [key: string]: unknown;
     callback?: {
      [key: string]: unknown;
     };
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  key?: string;
  lastLoginTime?: string;
  locale?: string;
  name?: string;
  self?: string;
  timeZone?: string;
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: string]: unknown; }; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: string]: unknown; }; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }>

myself.updateCurrentUser ​

ts
updateCurrentUser: (parameters, options?) => Promise<{
[key: string]: unknown;
  active?: boolean;
  applicationKeys?: string[];
  displayName?: string;
  emailAddress?: string;
  key?: string;
  name?: string;
  notification?: string;
  password?: string;
  self?: string;
}>;
Parameters ​
ParameterType
parameters{ active?: boolean; applicationKeys?: string[]; displayName?: string; emailAddress?: string; key?: string; name?: string; notification?: string; password?: string; self?: string; }
parameters.active?boolean
parameters.applicationKeys?string[]
parameters.displayName?string
parameters.emailAddress?string
parameters.key?string
parameters.name?string
parameters.notification?string
parameters.password?string
parameters.self?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; active?: boolean; applicationKeys?: string[]; displayName?: string; emailAddress?: string; key?: string; name?: string; notification?: string; password?: string; self?: string; }>

password ​

ts
password: object;

password.getPasswordPolicy ​

ts
getPasswordPolicy: (parameters?, options?) => Promise<string[]>;
Parameters ​
ParameterTypeDescription
parameters?{ hasOldPassword?: boolean; }-
parameters.hasOldPassword?booleanWhether or not the user will be required to enter their current password. Use false (the default) if this is a new user or if an administrator is forcibly changing another user's password.
options?RequestOptions-
Returns ​

Promise<string[]>

password.policyCheckCreateUser ​

ts
policyCheckCreateUser: (parameters, options?) => Promise<string[]>;
Parameters ​
ParameterType
parameters{ displayName?: string; emailAddress?: string; password?: string; username?: string; }
parameters.displayName?string
parameters.emailAddress?string
parameters.password?string
parameters.username?string
options?RequestOptions
Returns ​

Promise<string[]>

password.policyCheckUpdateUser ​

ts
policyCheckUpdateUser: (parameters, options?) => Promise<string[]>;
Parameters ​
ParameterType
parameters{ newPassword?: string; oldPassword?: string; username?: string; }
parameters.newPassword?string
parameters.oldPassword?string
parameters.username?string
options?RequestOptions
Returns ​

Promise<string[]>

permissions ​

ts
permissions: object;

permissions.getAllPermissions ​

ts
getAllPermissions: (options?) => Promise<{
[key: string]: unknown;
  permissions?: Record<string, {
   [key: string]: unknown;
     description?: string;
     id?: string;
     key?: string;
     name?: string;
     type?: string & object | "PROJECT" | "GLOBAL";
  }>;
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; permissions?: Record<string, { [key: string]: unknown; description?: string; id?: string; key?: string; name?: string; type?: string & object | "PROJECT" | "GLOBAL"; }>; }>

permissions.getPermissions ​

ts
getPermissions: (parameters?, options?) => Promise<{
[key: string]: unknown;
  permissions?: Record<string, {
   [key: string]: unknown;
     description?: string;
     id?: string;
     key?: string;
     name?: string;
     type?: string & object | "PROJECT" | "GLOBAL";
  }>;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ issueId?: string; issueKey?: string; projectId?: string; projectKey?: string; }-
parameters.issueId?stringId of the issue to scope returned permissions for.
parameters.issueKey?stringKey of the issue to scope returned permissions for.
parameters.projectId?stringId of project to scope returned permissions for.
parameters.projectKey?stringKey of project to scope returned permissions for.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; permissions?: Record<string, { [key: string]: unknown; description?: string; id?: string; key?: string; name?: string; type?: string & object | "PROJECT" | "GLOBAL"; }>; }>

permissionSchemes ​

ts
permissionSchemes: object;

permissionSchemes.createPermissionGrant ​

ts
createPermissionGrant: (parameters, options?) => Promise<{
[key: string]: unknown;
  holder?: {
   [key: string]: unknown;
     expand?: string;
     field?: {
      [key: string]: unknown;
        clauseNames?: ...[];
        custom?: boolean;
        id?: string;
        name?: string;
        navigable?: boolean;
        orderable?: boolean;
        schema?: {
         [key: ...]: ...;
           custom?: ...;
           customId?: ...;
           items?: ...;
           system?: ...;
           type?: ...;
        };
        searchable?: boolean;
     };
     group?: {
      [key: string]: unknown;
        name?: string;
        self?: string;
     };
     parameter?: string;
     projectRole?: {
      [key: string]: unknown;
        actors?: ...[];
        description?: string;
        id?: number;
        name?: string;
        self?: string;
     };
     type?: string;
     user?: {
      [key: string]: unknown;
        active?: boolean;
        avatarUrls?: Record<..., ...>;
        displayName?: string;
        emailAddress?: string;
        key?: string;
        name?: string;
        self?: string;
        timeZone?: string;
     };
  };
  id?: number;
  permission?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string | string[]; holder?: { expand?: string; field?: { clauseNames?: string[]; custom?: boolean; id?: string; name?: string; navigable?: boolean; orderable?: boolean; schema?: { custom?: ... | ...; customId?: ... | ...; items?: ... | ...; system?: ... | ...; type?: ... | ...; }; searchable?: boolean; }; group?: { name?: string; self?: string; }; parameter?: string; projectRole?: { actors?: object[]; description?: string; id?: number; name?: string; self?: string; }; type?: string; user?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; }; id?: number; permission?: string; schemeId: number; self?: string; }-
parameters.expand?string | string[]Use expand to include full beans in the response. This parameter accepts a comma-separated list of expandable elements. Use 'permissions' to include permissions in the response.
parameters.holder?{ expand?: string; field?: { clauseNames?: string[]; custom?: boolean; id?: string; name?: string; navigable?: boolean; orderable?: boolean; schema?: { custom?: ... | ...; customId?: ... | ...; items?: ... | ...; system?: ... | ...; type?: ... | ...; }; searchable?: boolean; }; group?: { name?: string; self?: string; }; parameter?: string; projectRole?: { actors?: object[]; description?: string; id?: number; name?: string; self?: string; }; type?: string; user?: { active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; }-
parameters.holder.expand?string-
parameters.holder.field?{ clauseNames?: string[]; custom?: boolean; id?: string; name?: string; navigable?: boolean; orderable?: boolean; schema?: { custom?: ... | ...; customId?: ... | ...; items?: ... | ...; system?: ... | ...; type?: ... | ...; }; searchable?: boolean; }-
parameters.holder.field.clauseNames?string[]-
parameters.holder.field.custom?boolean-
parameters.holder.field.id?string-
parameters.holder.field.name?string-
parameters.holder.field.navigable?boolean-
parameters.holder.field.orderable?boolean-
parameters.holder.field.schema?{ custom?: ... | ...; customId?: ... | ...; items?: ... | ...; system?: ... | ...; type?: ... | ...; }-
parameters.holder.field.schema.custom?... | ...-
parameters.holder.field.schema.customId?... | ...-
parameters.holder.field.schema.items?... | ...-
parameters.holder.field.schema.system?... | ...-
parameters.holder.field.schema.type?... | ...-
parameters.holder.field.searchable?boolean-
parameters.holder.group?{ name?: string; self?: string; }-
parameters.holder.group.name?string-
parameters.holder.group.self?string-
parameters.holder.parameter?string-
parameters.holder.projectRole?{ actors?: object[]; description?: string; id?: number; name?: string; self?: string; }-
parameters.holder.projectRole.actors?object[]-
parameters.holder.projectRole.description?string-
parameters.holder.projectRole.id?number-
parameters.holder.projectRole.name?string-
parameters.holder.projectRole.self?string-
parameters.holder.type?string-
parameters.holder.user?{ active?: boolean; avatarUrls?: Record<string, string>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }-
parameters.holder.user.active?boolean-
parameters.holder.user.avatarUrls?Record<string, string>-
parameters.holder.user.displayName?string-
parameters.holder.user.emailAddress?string-
parameters.holder.user.key?string-
parameters.holder.user.name?string-
parameters.holder.user.self?string-
parameters.holder.user.timeZone?string-
parameters.id?number-
parameters.permission?string-
parameters.schemeId?numberThe id of the permission scheme.
parameters.self?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; holder?: { [key: string]: unknown; expand?: string; field?: { [key: string]: unknown; clauseNames?: ...[]; custom?: boolean; id?: string; name?: string; navigable?: boolean; orderable?: boolean; schema?: { [key: ...]: ...; custom?: ...; customId?: ...; items?: ...; system?: ...; type?: ...; }; searchable?: boolean; }; group?: { [key: string]: unknown; name?: string; self?: string; }; parameter?: string; projectRole?: { [key: string]: unknown; actors?: ...[]; description?: string; id?: number; name?: string; self?: string; }; type?: string; user?: { [key: string]: unknown; active?: boolean; avatarUrls?: Record<..., ...>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; }; id?: number; permission?: string; self?: string; }>

permissionSchemes.createPermissionScheme ​

ts
createPermissionScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  expand?: string;
  id?: number;
  name?: string;
  permissions?: object[];
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ body?: { description?: string; expand?: string; id?: number; name?: string; permissions?: object[]; self?: string; }; expand?: string | string[]; }-
parameters.body?{ description?: string; expand?: string; id?: number; name?: string; permissions?: object[]; self?: string; }-
parameters.body.description?string-
parameters.body.expand?string-
parameters.body.id?number-
parameters.body.name?string-
parameters.body.permissions?object[]-
parameters.body.self?string-
parameters.expand?string | string[]Use expand to include full beans in the response. This parameter accepts a comma-separated list of expandable elements. Use 'permissions' to include permissions in the response.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; description?: string; expand?: string; id?: number; name?: string; permissions?: object[]; self?: string; }>

permissionSchemes.deletePermissionScheme ​

ts
deletePermissionScheme: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ schemeId: number; }-
parameters.schemeIdnumberThe id of the permission scheme.
options?RequestOptions-
Returns ​

Promise<void>

permissionSchemes.deletePermissionSchemeEntity ​

ts
deletePermissionSchemeEntity: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ permissionId: number; schemeId: number; }-
parameters.permissionIdnumberThe id of the permission grant.
parameters.schemeId?numberThe id of the permission scheme.
options?RequestOptions-
Returns ​

Promise<void>

permissionSchemes.getPermissionScheme ​

ts
getPermissionScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  expand?: string;
  id?: number;
  name?: string;
  permissions?: object[];
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string | string[]; schemeId: number; }-
parameters.expand?string | string[]Use expand to include full beans in the response. This parameter accepts a comma-separated list of expandable elements. Use 'permissions' to include permissions in the response.
parameters.schemeId?numberThe id of the permission scheme.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; description?: string; expand?: string; id?: number; name?: string; permissions?: object[]; self?: string; }>

permissionSchemes.getPermissionSchemeGrant ​

ts
getPermissionSchemeGrant: (parameters, options?) => Promise<{
[key: string]: unknown;
  holder?: {
   [key: string]: unknown;
     expand?: string;
     field?: {
      [key: string]: unknown;
        clauseNames?: ...[];
        custom?: boolean;
        id?: string;
        name?: string;
        navigable?: boolean;
        orderable?: boolean;
        schema?: {
         [key: ...]: ...;
           custom?: ...;
           customId?: ...;
           items?: ...;
           system?: ...;
           type?: ...;
        };
        searchable?: boolean;
     };
     group?: {
      [key: string]: unknown;
        name?: string;
        self?: string;
     };
     parameter?: string;
     projectRole?: {
      [key: string]: unknown;
        actors?: ...[];
        description?: string;
        id?: number;
        name?: string;
        self?: string;
     };
     type?: string;
     user?: {
      [key: string]: unknown;
        active?: boolean;
        avatarUrls?: Record<..., ...>;
        displayName?: string;
        emailAddress?: string;
        key?: string;
        name?: string;
        self?: string;
        timeZone?: string;
     };
  };
  id?: number;
  permission?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string | string[]; permissionId: number; schemeId: number; }-
parameters.expand?string | string[]Use expand to include full beans in the response. This parameter accepts a comma-separated list of expandable elements. Use 'permissions' to include permissions in the response.
parameters.permissionId?numberThe id of the permission grant.
parameters.schemeId?numberThe id of the permission scheme.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; holder?: { [key: string]: unknown; expand?: string; field?: { [key: string]: unknown; clauseNames?: ...[]; custom?: boolean; id?: string; name?: string; navigable?: boolean; orderable?: boolean; schema?: { [key: ...]: ...; custom?: ...; customId?: ...; items?: ...; system?: ...; type?: ...; }; searchable?: boolean; }; group?: { [key: string]: unknown; name?: string; self?: string; }; parameter?: string; projectRole?: { [key: string]: unknown; actors?: ...[]; description?: string; id?: number; name?: string; self?: string; }; type?: string; user?: { [key: string]: unknown; active?: boolean; avatarUrls?: Record<..., ...>; displayName?: string; emailAddress?: string; key?: string; name?: string; self?: string; timeZone?: string; }; }; id?: number; permission?: string; self?: string; }>

permissionSchemes.getPermissionSchemeGrants ​

ts
getPermissionSchemeGrants: (parameters, options?) => Promise<{
[key: string]: unknown;
  expand?: string;
  permissions?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string | string[]; schemeId: number; }-
parameters.expand?string | string[]Use expand to include full beans in the response. This parameter accepts a comma-separated list of expandable elements. Use 'permissions' to include permissions in the response.
parameters.schemeId?numberThe id of the permission scheme.
options?RequestOptions-
Returns ​

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

permissionSchemes.getPermissionSchemes ​

ts
getPermissionSchemes: (parameters?, options?) => Promise<{
[key: string]: unknown;
  permissionSchemes?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ expand?: string | string[]; }-
parameters.expand?string | string[]Use expand to include full beans in the response. This parameter accepts a comma-separated list of expandable elements. Use 'permissions' to include permissions in the response.
options?RequestOptions-
Returns ​

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

permissionSchemes.getSchemeAttribute ​

ts
getSchemeAttribute: (parameters, options?) => Promise<{
[key: string]: unknown;
  key?: string;
  value?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ attributeKey: string; permissionSchemeId: number; }-
parameters.attributeKeystringThe key of the permission scheme attribute.
parameters.permissionSchemeId?numberThe id of the permission scheme.
options?RequestOptions-
Returns ​

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

permissionSchemes.setSchemeAttribute ​

ts
setSchemeAttribute: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ body?: string; key: string; permissionSchemeId: number; }-
parameters.body?string-
parameters.key?stringThe key of the permission scheme attribute.
parameters.permissionSchemeId?numberThe id of the permission scheme.
options?RequestOptions-
Returns ​

Promise<void>

permissionSchemes.updatePermissionScheme ​

ts
updatePermissionScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  expand?: string;
  id?: number;
  name?: string;
  permissions?: object[];
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ body?: { description?: string; expand?: string; id?: number; name?: string; permissions?: object[]; self?: string; }; expand?: string | string[]; schemeId: number; }-
parameters.body?{ description?: string; expand?: string; id?: number; name?: string; permissions?: object[]; self?: string; }-
parameters.body.description?string-
parameters.body.expand?string-
parameters.body.id?number-
parameters.body.name?string-
parameters.body.permissions?object[]-
parameters.body.self?string-
parameters.expand?string | string[]Use expand to include full beans in the response. This parameter accepts a comma-separated list of expandable elements. Use 'permissions' to include permissions in the response.
parameters.schemeId?numberThe id of the permission scheme.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; description?: string; expand?: string; id?: number; name?: string; permissions?: object[]; self?: string; }>

prioritySchemes ​

ts
prioritySchemes: object;

prioritySchemes.createPriorityScheme ​

ts
createPriorityScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultOptionId?: string;
  defaultScheme?: boolean;
  description?: string;
  id?: number;
  name?: string;
  optionIds?: string[];
  projectKeys?: string[];
  self?: string;
}>;
Parameters ​
ParameterType
parameters{ defaultOptionId?: string; description?: string; id?: number; name?: string; optionIds?: string[]; }
parameters.defaultOptionId?string
parameters.description?string
parameters.id?number
parameters.name?string
parameters.optionIds?string[]
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; defaultOptionId?: string; defaultScheme?: boolean; description?: string; id?: number; name?: string; optionIds?: string[]; projectKeys?: string[]; self?: string; }>

prioritySchemes.deletePriorityScheme ​

ts
deletePriorityScheme: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ schemeId: number; }-
parameters.schemeIdnumberId of priority scheme to delete
options?RequestOptions-
Returns ​

Promise<void>

prioritySchemes.getPriorityScheme ​

ts
getPriorityScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultOptionId?: string;
  defaultScheme?: boolean;
  description?: string;
  id?: number;
  name?: string;
  optionIds?: string[];
  projectKeys?: string[];
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ schemeId: number; }-
parameters.schemeIdnumberId of priority scheme to get
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultOptionId?: string; defaultScheme?: boolean; description?: string; id?: number; name?: string; optionIds?: string[]; projectKeys?: string[]; self?: string; }>

prioritySchemes.getPrioritySchemes ​

ts
getPrioritySchemes: (parameters?, options?) => Promise<{
[key: string]: unknown;
  maxResults?: number;
  schemes?: object[];
  startAt?: number;
  total?: number;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ maxResults?: number; startAt?: number; }-
parameters.maxResults?numberHow many results on the page should be included. Defaults to 100, maximum is 1000.
parameters.startAt?numberThe page offset, if not specified then defaults to 0
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; maxResults?: number; schemes?: object[]; startAt?: number; total?: number; }>

prioritySchemes.updatePriorityScheme ​

ts
updatePriorityScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultOptionId?: string;
  defaultScheme?: boolean;
  description?: string;
  id?: number;
  name?: string;
  optionIds?: string[];
  projectKeys?: string[];
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ defaultOptionId?: string; description?: string; id?: number; name?: string; optionIds?: string[]; schemeId: number; }-
parameters.defaultOptionId?string-
parameters.description?string-
parameters.id?number-
parameters.name?string-
parameters.optionIds?string[]-
parameters.schemeId?numberId of the priority scheme to update
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultOptionId?: string; defaultScheme?: boolean; description?: string; id?: number; name?: string; optionIds?: string[]; projectKeys?: string[]; self?: string; }>

projectCategories ​

ts
projectCategories: object;

projectCategories.createProjectCategory ​

ts
createProjectCategory: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  id?: string;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterType
parameters{ description?: string; id?: string; name?: string; self?: string; }
parameters.description?string
parameters.id?string
parameters.name?string
parameters.self?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; description?: string; id?: string; name?: string; self?: string; }>

projectCategories.getAllProjectCategories ​

ts
getAllProjectCategories: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>

projectCategories.getProjectCategoryById ​

ts
getProjectCategoryById: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  id?: string;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; }-
parameters.idnumberA project category id
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; description?: string; id?: string; name?: string; self?: string; }>

projectCategories.removeProjectCategory ​

ts
removeProjectCategory: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; }-
parameters.idnumberId of the project category to delete.
options?RequestOptions-
Returns ​

Promise<void>

projectCategories.updateProjectCategory ​

ts
updateProjectCategory: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  id?: string;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ body: { description?: string; id?: string; name?: string; self?: string; }; id: number; }-
parameters.body{ description?: string; id?: string; name?: string; self?: string; }-
parameters.body.description?string-
parameters.body.id?string-
parameters.body.name?string-
parameters.body.self?string-
parameters.id?numberId of the project category to modify.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; description?: string; id?: string; name?: string; self?: string; }>

projectComponents ​

ts
projectComponents: object;

projectComponents.createComponent ​

ts
createComponent: (parameters, options?) => Promise<{
[key: string]: unknown;
  archived?: boolean;
  assigneeType?:   | string & object
     | "PROJECT_DEFAULT"
     | "COMPONENT_LEAD"
     | "PROJECT_LEAD"
     | "UNASSIGNED";
  deleted?: boolean;
  description?: string;
  id?: string;
  lead?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  leadUserName?: string;
  name?: string;
  project?: string;
  self?: string;
}>;
Parameters ​
ParameterType
parameters{ archived?: boolean; assigneeType?: | string & object | "PROJECT_DEFAULT" | "COMPONENT_LEAD" | "PROJECT_LEAD" | "UNASSIGNED"; deleted?: boolean; description?: string; id?: string; lead?: { active?: boolean; applicationRoles?: { callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; leadUserName?: string; name?: string; project?: string; self?: string; }
parameters.archived?boolean
parameters.assigneeType?| string & object | "PROJECT_DEFAULT" | "COMPONENT_LEAD" | "PROJECT_LEAD" | "UNASSIGNED"
parameters.deleted?boolean
parameters.description?string
parameters.id?string
parameters.lead?{ active?: boolean; applicationRoles?: { callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }
parameters.lead.active?boolean
parameters.lead.applicationRoles?{ callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }
parameters.lead.applicationRoles.callback?Record<string, never>
parameters.lead.applicationRoles.maxResults?number
parameters.lead.applicationRoles.pagingCallback?Record<string, never>
parameters.lead.applicationRoles.size?number
parameters.lead.avatarUrls?Record<string, string>
parameters.lead.deleted?boolean
parameters.lead.displayName?string
parameters.lead.emailAddress?string
parameters.lead.expand?string
parameters.lead.groups?{ callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }
parameters.lead.groups.callback?Record<string, never>
parameters.lead.groups.maxResults?number
parameters.lead.groups.pagingCallback?Record<string, never>
parameters.lead.groups.size?number
parameters.lead.key?string
parameters.lead.lastLoginTime?string
parameters.lead.locale?string
parameters.lead.name?string
parameters.lead.self?string
parameters.lead.timeZone?string
parameters.leadUserName?string
parameters.name?string
parameters.project?string
parameters.self?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; archived?: boolean; assigneeType?: | string & object | "PROJECT_DEFAULT" | "COMPONENT_LEAD" | "PROJECT_LEAD" | "UNASSIGNED"; deleted?: boolean; description?: string; id?: string; lead?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; leadUserName?: string; name?: string; project?: string; self?: string; }>

projectComponents.deleteComponent ​

ts
deleteComponent: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; moveIssuesTo?: string; }-
parameters.idstringThe component to delete.
parameters.moveIssuesTo?stringThe new component applied to issues whose 'id' component will be deleted. If this value is null, then the 'id' component is simply removed from the related isues.
options?RequestOptions-
Returns ​

Promise<void>

projectComponents.getComponent ​

ts
getComponent: (parameters, options?) => Promise<{
[key: string]: unknown;
  archived?: boolean;
  assigneeType?:   | string & object
     | "PROJECT_DEFAULT"
     | "COMPONENT_LEAD"
     | "PROJECT_LEAD"
     | "UNASSIGNED";
  deleted?: boolean;
  description?: string;
  id?: string;
  lead?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  leadUserName?: string;
  name?: string;
  project?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringA String containing the component key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; archived?: boolean; assigneeType?: | string & object | "PROJECT_DEFAULT" | "COMPONENT_LEAD" | "PROJECT_LEAD" | "UNASSIGNED"; deleted?: boolean; description?: string; id?: string; lead?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; leadUserName?: string; name?: string; project?: string; self?: string; }>

projectComponents.getComponentRelatedIssues ​

ts
getComponentRelatedIssues: (parameters, options?) => Promise<{
[key: string]: unknown;
  issueCount?: number;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringA String containing the component id
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; issueCount?: number; self?: string; }>

projectComponents.getPaginatedComponents ​

ts
getPaginatedComponents: (parameters?, options?) => Promise<{
[key: string]: unknown;
  isLast?: boolean;
  maxResults?: number;
  nextPage?: string;
  self?: string;
  startAt?: number;
  total?: number;
  values?: Record<string, any>[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ maxResults?: string; projectIds?: string; query?: string; startAt?: string; }-
parameters.maxResults?stringThe maximum number of components to return
parameters.projectIds?stringThe set of project ids to filter components
parameters.query?stringThe string that components names will be matched with
parameters.startAt?stringThe index of the first components to return
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast?: boolean; maxResults?: number; nextPage?: string; self?: string; startAt?: number; total?: number; values?: Record<string, any>[]; }>

projectComponents.updateComponent ​

ts
updateComponent: (parameters, options?) => Promise<{
[key: string]: unknown;
  archived?: boolean;
  assigneeType?:   | string & object
     | "PROJECT_DEFAULT"
     | "COMPONENT_LEAD"
     | "PROJECT_LEAD"
     | "UNASSIGNED";
  deleted?: boolean;
  description?: string;
  id?: string;
  lead?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  leadUserName?: string;
  name?: string;
  project?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ body?: { archived?: boolean; assigneeType?: | string & object | "PROJECT_DEFAULT" | "COMPONENT_LEAD" | "PROJECT_LEAD" | "UNASSIGNED"; deleted?: boolean; description?: string; id?: string; lead?: { active?: boolean; applicationRoles?: { callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; leadUserName?: string; name?: string; project?: string; self?: string; }; id: string; }-
parameters.body?{ archived?: boolean; assigneeType?: | string & object | "PROJECT_DEFAULT" | "COMPONENT_LEAD" | "PROJECT_LEAD" | "UNASSIGNED"; deleted?: boolean; description?: string; id?: string; lead?: { active?: boolean; applicationRoles?: { callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; leadUserName?: string; name?: string; project?: string; self?: string; }-
parameters.body.archived?boolean-
parameters.body.assigneeType?| string & object | "PROJECT_DEFAULT" | "COMPONENT_LEAD" | "PROJECT_LEAD" | "UNASSIGNED"-
parameters.body.deleted?boolean-
parameters.body.description?string-
parameters.body.id?string-
parameters.body.lead?{ active?: boolean; applicationRoles?: { callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }-
parameters.body.lead.active?boolean-
parameters.body.lead.applicationRoles?{ callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }-
parameters.body.lead.applicationRoles.callback?... | ...-
parameters.body.lead.applicationRoles.maxResults?... | ...-
parameters.body.lead.applicationRoles.pagingCallback?... | ...-
parameters.body.lead.applicationRoles.size?... | ...-
parameters.body.lead.avatarUrls?Record<string, string>-
parameters.body.lead.deleted?boolean-
parameters.body.lead.displayName?string-
parameters.body.lead.emailAddress?string-
parameters.body.lead.expand?string-
parameters.body.lead.groups?{ callback?: ... | ...; maxResults?: ... | ...; pagingCallback?: ... | ...; size?: ... | ...; }-
parameters.body.lead.groups.callback?... | ...-
parameters.body.lead.groups.maxResults?... | ...-
parameters.body.lead.groups.pagingCallback?... | ...-
parameters.body.lead.groups.size?... | ...-
parameters.body.lead.key?string-
parameters.body.lead.lastLoginTime?string-
parameters.body.lead.locale?string-
parameters.body.lead.name?string-
parameters.body.lead.self?string-
parameters.body.lead.timeZone?string-
parameters.body.leadUserName?string-
parameters.body.name?string-
parameters.body.project?string-
parameters.body.self?string-
parameters.id?stringThe component to delete.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; archived?: boolean; assigneeType?: | string & object | "PROJECT_DEFAULT" | "COMPONENT_LEAD" | "PROJECT_LEAD" | "UNASSIGNED"; deleted?: boolean; description?: string; id?: string; lead?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; leadUserName?: string; name?: string; project?: string; self?: string; }>

projectKeyAndNameValidation ​

ts
projectKeyAndNameValidation: object;

projectKeyAndNameValidation.validateProjectKey ​

ts
validateProjectKey: (parameters?, options?) => Promise<{
[key: string]: unknown;
  errorMessages?: string[];
  errors?: Record<string, string>;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ key?: string; }-
parameters.key?stringThe project key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; errorMessages?: string[]; errors?: Record<string, string>; }>

projectRoles ​

ts
projectRoles: object;

projectRoles.addProjectRoleActorsToRole ​

ts
addProjectRoleActorsToRole: (parameters, options?) => Promise<{
[key: string]: unknown;
  actors?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ group?: string[]; id: number; user?: string[]; }-
parameters.group?string[]-
parameters.id?numberThe role id
parameters.user?string[]-
options?RequestOptions-
Returns ​

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

projectRoles.createProjectRole ​

ts
createProjectRole: (parameters, options?) => Promise<{
[key: string]: unknown;
  actors?: object[];
  description?: string;
  id?: number;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterType
parameters{ description?: string; name?: string; }
parameters.description?string
parameters.name?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; actors?: object[]; description?: string; id?: number; name?: string; self?: string; }>

projectRoles.deleteProjectRole ​

ts
deleteProjectRole: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; swap?: number; }-
parameters.idnumberThe role id
parameters.swap?numberIf given, removes a role even if it is used in scheme by replacing the role with the given one
options?RequestOptions-
Returns ​

Promise<void>

projectRoles.deleteProjectRoleActorsFromRole ​

ts
deleteProjectRoleActorsFromRole: (parameters, options?) => Promise<{
[key: string]: unknown;
  actors?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ group?: string; id: number; user?: string; }-
parameters.group?stringIf given, removes an actor from given role
parameters.id?numberThe role id to remove the actors from
parameters.user?stringIf given, removes an actor from given role
options?RequestOptions-
Returns ​

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

projectRoles.fullyUpdateProjectRole ​

ts
fullyUpdateProjectRole: (parameters, options?) => Promise<{
[key: string]: unknown;
  actors?: object[];
  description?: string;
  id?: number;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ description?: string; id: number; name?: string; }-
parameters.description?string-
parameters.id?numberThe role id
parameters.name?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; actors?: object[]; description?: string; id?: number; name?: string; self?: string; }>

projectRoles.getAllProjectRoles ​

ts
getAllProjectRoles: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>

projectRoles.getProjectRoleActorsForRole ​

ts
getProjectRoleActorsForRole: (parameters, options?) => Promise<{
[key: string]: unknown;
  actors?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; }-
parameters.idnumberThe role id
options?RequestOptions-
Returns ​

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

projectRoles.getProjectRolesById ​

ts
getProjectRolesById: (parameters, options?) => Promise<{
[key: string]: unknown;
  actors?: object[];
  description?: string;
  id?: number;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; }-
parameters.idnumberThe role id
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; actors?: object[]; description?: string; id?: number; name?: string; self?: string; }>

projectRoles.partialUpdateProjectRole ​

ts
partialUpdateProjectRole: (parameters, options?) => Promise<{
[key: string]: unknown;
  actors?: object[];
  description?: string;
  id?: number;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ description?: string; id: number; name?: string; }-
parameters.description?string-
parameters.id?numberThe role id
parameters.name?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; actors?: object[]; description?: string; id?: number; name?: string; self?: string; }>

projects ​

ts
projects: object;

projects.addActorUsers ​

ts
addActorUsers: (parameters, options?) => Promise<{
[key: string]: unknown;
  actors?: object[];
  description?: string;
  id?: number;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ group?: string[]; id: number; projectIdOrKey: string; user?: string[]; }-
parameters.group?string[]The groups to add to the role.
parameters.id?numberThe project role id
parameters.projectIdOrKey?stringThe project id or project key
parameters.user?string[]The usernames to add to the role.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; actors?: object[]; description?: string; id?: number; name?: string; self?: string; }>

projects.archiveProject ​

ts
archiveProject: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ projectIdOrKey: string; }-
parameters.projectIdOrKeystringProject id or project key
options?RequestOptions-
Returns ​

Promise<void>

projects.assignPermissionScheme ​

ts
assignPermissionScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  expand?: string;
  id?: number;
  name?: string;
  permissions?: object[];
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string | string[]; id?: number; projectKeyOrId: string; }-
parameters.expand?string | string[]Use expand to include additional information about permission schemes in the response. This parameter accepts a comma-separated list of expandable options. Expand options include: all and field.
parameters.id?number-
parameters.projectKeyOrId?stringKey or id of the project
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; description?: string; expand?: string; id?: number; name?: string; permissions?: object[]; self?: string; }>

projects.assignPriorityScheme ​

ts
assignPriorityScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultOptionId?: string;
  defaultScheme?: boolean;
  description?: string;
  id?: number;
  name?: string;
  optionIds?: string[];
  projectKeys?: string[];
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id?: number; projectKeyOrId: string; }-
parameters.id?number-
parameters.projectKeyOrId?stringKey or id of the project
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultOptionId?: string; defaultScheme?: boolean; description?: string; id?: number; name?: string; optionIds?: string[]; projectKeys?: string[]; self?: string; }>

projects.createProject ​

ts
createProject: (parameters, options?) => Promise<{
[key: string]: unknown;
  id?: number;
  key?: string;
  self?: string;
}>;
Parameters ​
ParameterType
parameters{ assigneeType?: string & object | "PROJECT_LEAD" | "UNASSIGNED"; avatarId?: number; categoryId?: number; description?: string; issueSecurityScheme?: number; key?: string; lead?: string; name?: string; notificationScheme?: number; permissionScheme?: number; projectTemplateKey?: string; projectTypeKey?: string; url?: string; workflowSchemeId?: number; }
parameters.assigneeType?string & object | "PROJECT_LEAD" | "UNASSIGNED"
parameters.avatarId?number
parameters.categoryId?number
parameters.description?string
parameters.issueSecurityScheme?number
parameters.key?string
parameters.lead?string
parameters.name?string
parameters.notificationScheme?number
parameters.permissionScheme?number
parameters.projectTemplateKey?string
parameters.projectTypeKey?string
parameters.url?string
parameters.workflowSchemeId?number
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; id?: number; key?: string; self?: string; }>

projects.createProjectAvatarFromTemporary ​

ts
createProjectAvatarFromTemporary: (parameters, options?) => Promise<{
[key: string]: unknown;
  fileName?: string;
  id?: string;
  isDeletable?: boolean;
  isSelected?: boolean;
  isSystemAvatar?: boolean;
  owner?: string;
  selected?: boolean;
  urls?: Record<string, string>;
}>;
Parameters ​
ParameterTypeDescription
parameters{ cropperOffsetX?: number; cropperOffsetY?: number; cropperWidth?: number; needsCropping?: boolean; projectIdOrKey: string; url?: string; }-
parameters.cropperOffsetX?number-
parameters.cropperOffsetY?number-
parameters.cropperWidth?number-
parameters.needsCropping?boolean-
parameters.projectIdOrKey?stringProject id or project key
parameters.url?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; fileName?: string; id?: string; isDeletable?: boolean; isSelected?: boolean; isSystemAvatar?: boolean; owner?: string; selected?: boolean; urls?: Record<string, string>; }>

projects.deleteActor ​

ts
deleteActor: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ group?: string; id: number; projectIdOrKey: string; user?: string; }-
parameters.group?stringThe group name to remove from the project role. Use either user or group, but not both
parameters.id?numberThe project role id
parameters.projectIdOrKey?stringThe project id or project key
parameters.user?stringThe user name of the user to remove from the project role. Use either user or group, but not both
options?RequestOptions-
Returns ​

Promise<void>

projects.deleteProject ​

ts
deleteProject: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ projectIdOrKey: string; }-
parameters.projectIdOrKeystringProject id or project key
options?RequestOptions-
Returns ​

Promise<void>

projects.deleteProjectAvatar ​

ts
deleteProjectAvatar: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; projectIdOrKey: string; }-
parameters.idnumberDatabase id for avatar
parameters.projectIdOrKey?stringProject id or project key
options?RequestOptions-
Returns ​

Promise<void>

projects.deleteProjectProperty ​

ts
deleteProjectProperty: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ projectIdOrKey: string; propertyKey: string; }-
parameters.projectIdOrKeystringThe project from which the property will be removed.
parameters.propertyKey?stringThe key of the property to remove.
options?RequestOptions-
Returns ​

Promise<void>

projects.getAccessibleProjectTypeByKey ​

ts
getAccessibleProjectTypeByKey: (parameters, options?) => Promise<{
[key: string]: unknown;
  color?: string;
  descriptionI18nKey?: string;
  formattedKey?: string;
  icon?: string;
  key?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ projectTypeKey: string; }-
parameters.projectTypeKeystringThe key of the project type
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; color?: string; descriptionI18nKey?: string; formattedKey?: string; icon?: string; key?: string; }>

projects.getAllProjectAvatars ​

ts
getAllProjectAvatars: (parameters, options?) => Promise<{
[key: string]: unknown;
  custom?: object[];
  system?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ projectIdOrKey: string; }-
parameters.projectIdOrKeystringProject id or project key
options?RequestOptions-
Returns ​

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

projects.getAllProjects ​

ts
getAllProjects: (parameters?, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters?{ browseArchive?: boolean; expand?: string; includeArchived?: boolean; recent?: number; }-
parameters.browseArchive?booleanWhether to include only projects where current user can browse archive
parameters.expand?stringParameters to expand
parameters.includeArchived?booleanWhether to include archived projects in response, default: false
parameters.recent?numberIf this parameter is set then only projects recently accessed by the current user (if not logged in then based on HTTP session) will be returned (maximum count limited to the specified number but no more than 20)
options?RequestOptions-
Returns ​

Promise<object[]>

projects.getAllProjectTypes ​

ts
getAllProjectTypes: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>

projects.getAllStatuses ​

ts
getAllStatuses: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ projectIdOrKey: string; }-
parameters.projectIdOrKeystringProject id or project key
options?RequestOptions-
Returns ​

Promise<object[]>

projects.getAssignedPermissionScheme ​

ts
getAssignedPermissionScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  expand?: string;
  id?: number;
  name?: string;
  permissions?: object[];
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string | string[]; projectKeyOrId: string; }-
parameters.expand?string | string[]Use expand to include additional information about permission schemes in the response. This parameter accepts a comma-separated list of expandable options. Expand options include: all and field.
parameters.projectKeyOrId?stringKey or id of the project
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; description?: string; expand?: string; id?: number; name?: string; permissions?: object[]; self?: string; }>

projects.getAssignedPriorityScheme ​

ts
getAssignedPriorityScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultOptionId?: string;
  defaultScheme?: boolean;
  description?: string;
  id?: number;
  name?: string;
  optionIds?: string[];
  projectKeys?: string[];
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ projectKeyOrId: string; }-
parameters.projectKeyOrIdstringKey or id of the project
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultOptionId?: string; defaultScheme?: boolean; description?: string; id?: number; name?: string; optionIds?: string[]; projectKeys?: string[]; self?: string; }>

projects.getProject ​

ts
getProject: (parameters, options?) => Promise<{
[key: string]: unknown;
  archived?: boolean;
  avatarUrls?: Record<string, string>;
  description?: string;
  id?: string;
  key?: string;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string; projectIdOrKey: string; }-
parameters.expand?stringParameters to expand
parameters.projectIdOrKey?stringProject id or project key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; archived?: boolean; avatarUrls?: Record<string, string>; description?: string; id?: string; key?: string; name?: string; self?: string; }>

projects.getProjectComponents ​

ts
getProjectComponents: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ projectIdOrKey: string; }-
parameters.projectIdOrKeystringProject id or project key
options?RequestOptions-
Returns ​

Promise<object[]>

projects.getProjectIssueSecurityScheme ​

ts
getProjectIssueSecurityScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultSecurityLevelId?: number;
  description?: string;
  id?: number;
  levels?: object[];
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ projectKeyOrId: string; }-
parameters.projectKeyOrIdstringThe project id or project key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultSecurityLevelId?: number; description?: string; id?: number; levels?: object[]; name?: string; self?: string; }>

projects.getProjectNotificationScheme ​

ts
getProjectNotificationScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  expand?: string;
  id?: number;
  name?: string;
  notificationSchemeEvents?: object[];
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string; projectKeyOrId: string; }-
parameters.expand?stringOptional information to be expanded in the response: group, user, projectRole or field.
parameters.projectKeyOrId?stringKey or id of the project
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; description?: string; expand?: string; id?: number; name?: string; notificationSchemeEvents?: object[]; self?: string; }>

projects.getProjectProperty ​

ts
getProjectProperty: (parameters, options?) => Promise<{
[key: string]: unknown;
  key?: string;
  value?: unknown;
}>;
Parameters ​
ParameterTypeDescription
parameters{ projectIdOrKey: string; propertyKey: string; }-
parameters.projectIdOrKeystringThe project from which the property will be returned.
parameters.propertyKey?stringThe key of the property to return.
options?RequestOptions-
Returns ​

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

projects.getProjectPropertyKeys ​

ts
getProjectPropertyKeys: (parameters, options?) => Promise<{
[key: string]: unknown;
  keys?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ projectIdOrKey: string; }-
parameters.projectIdOrKeystringThe project from which keys will be returned.
options?RequestOptions-
Returns ​

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

projects.getProjectRole ​

ts
getProjectRole: (parameters, options?) => Promise<{
[key: string]: unknown;
  actors?: object[];
  description?: string;
  id?: number;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; projectIdOrKey: string; }-
parameters.idnumberThe project role id
parameters.projectIdOrKey?stringThe project id or project key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; actors?: object[]; description?: string; id?: number; name?: string; self?: string; }>

projects.getProjectRoles ​

ts
getProjectRoles: (parameters, options?) => Promise<Record<string, string>>;
Parameters ​
ParameterTypeDescription
parameters{ projectIdOrKey: string; }-
parameters.projectIdOrKeystringThe project id or project key
options?RequestOptions-
Returns ​

Promise<Record<string, string>>

projects.getProjectTypeByKey ​

ts
getProjectTypeByKey: (parameters, options?) => Promise<{
[key: string]: unknown;
  color?: string;
  descriptionI18nKey?: string;
  formattedKey?: string;
  icon?: string;
  key?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ projectTypeKey: string; }-
parameters.projectTypeKeystringThe key of the project type
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; color?: string; descriptionI18nKey?: string; formattedKey?: string; icon?: string; key?: string; }>

projects.getProjectVersions ​

ts
getProjectVersions: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string; projectIdOrKey: string; }-
parameters.expand?stringParameters to expand
parameters.projectIdOrKey?stringProject id or project key
options?RequestOptions-
Returns ​

Promise<object[]>

projects.getProjectVersionsPaginated ​

ts
getProjectVersionsPaginated: (parameters, options?) => Promise<{
[key: string]: unknown;
  isLast?: boolean;
  maxResults?: number;
  nextPage?: string;
  self?: string;
  startAt?: number;
  total?: number;
  values?: Record<string, any>[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string; maxResults?: number; orderBy?: string; projectIdOrKey: string; startAt?: number; }-
parameters.expand?stringParameters to expand
parameters.maxResults?numberHow many results on the page should be included. Defaults to 50
parameters.orderBy?stringOrdering of the results
parameters.projectIdOrKey?stringProject id or project key
parameters.startAt?numberThe page offset, if not specified then defaults to 0
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast?: boolean; maxResults?: number; nextPage?: string; self?: string; startAt?: number; total?: number; values?: Record<string, any>[]; }>

projects.getSecurityLevelsForProject ​

ts
getSecurityLevelsForProject: (parameters, options?) => Promise<{
[key: string]: unknown;
  levels?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ projectKeyOrId: string; }-
parameters.projectKeyOrIdstringKey or id of project to list the security levels for
options?RequestOptions-
Returns ​

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

projects.getWorkflowSchemeForProject ​

ts
getWorkflowSchemeForProject: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ projectKeyOrId: string; }-
parameters.projectKeyOrIdstringThe key or id of the project
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

projects.restoreProject ​

ts
restoreProject: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ projectIdOrKey: string; }-
parameters.projectIdOrKeystringProject id or project key
options?RequestOptions-
Returns ​

Promise<void>

projects.searchForProjects ​

ts
searchForProjects: (parameters?, options?) => Promise<{
[key: string]: unknown;
  header?: string;
  projects?: object[];
  total?: number;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ allowEmptyQuery?: boolean; maxResults?: number; query?: string; }-
parameters.allowEmptyQuery?booleanIf true, and the query is empty, the method will return first results limited to the value of 'maxResults' or default limit of 100.
parameters.maxResults?numberMaximum number of matches to return. Zero means a default limit of 100 and negative numbers return no results.
parameters.query?stringA sequence of characters expected to be found in the word-prefix of project name and/or key.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; header?: string; projects?: object[]; total?: number; }>

projects.setActors ​

ts
setActors: (parameters, options?) => Promise<{
[key: string]: unknown;
  actors?: object[];
  description?: string;
  id?: number;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ body: { categorisedActors?: Record<string, string[]>; id?: number; }; id: number; projectIdOrKey: string; }-
parameters.body{ categorisedActors?: Record<string, string[]>; id?: number; }-
parameters.body.categorisedActors?Record<string, string[]>-
parameters.body.id?number-
parameters.id?numberThe project role id
parameters.projectIdOrKey?stringThe project id or project key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; actors?: object[]; description?: string; id?: number; name?: string; self?: string; }>

projects.setProjectProperty ​

ts
setProjectProperty: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ body: Record<string, any>; projectIdOrKey: string; propertyKey: string; }-
parameters.bodyRecord<string, any>-
parameters.projectIdOrKey?stringThe project on which the property will be set.
parameters.propertyKey?stringThe key of the project's property. The maximum length of the key is 255 bytes.
options?RequestOptions-
Returns ​

Promise<void>

projects.storeTemporaryProjectAvatarUsingMultiPart ​

ts
storeTemporaryProjectAvatarUsingMultiPart: (parameters, options?) => Promise<unknown>;
Parameters ​
ParameterTypeDescription
parameters{ avatar: | AttachmentInput | AttachmentInput[]; projectIdOrKey: string; }-
parameters.avatar| AttachmentInput | AttachmentInput[]-
parameters.projectIdOrKey?stringProject id or project key
options?RequestOptions-
Returns ​

Promise<unknown>

projects.unassignPriorityScheme ​

ts
unassignPriorityScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultOptionId?: string;
  defaultScheme?: boolean;
  description?: string;
  id?: number;
  name?: string;
  optionIds?: string[];
  projectKeys?: string[];
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ projectKeyOrId: string; schemeId: number; }-
parameters.projectKeyOrIdstringKey or id of the project
parameters.schemeId?numberObject that contains an id of the scheme
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultOptionId?: string; defaultScheme?: boolean; description?: string; id?: number; name?: string; optionIds?: string[]; projectKeys?: string[]; self?: string; }>

projects.updateProject ​

ts
updateProject: (parameters, options?) => Promise<{
[key: string]: unknown;
  archived?: boolean;
  avatarUrls?: Record<string, string>;
  description?: string;
  id?: string;
  key?: string;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ assigneeType?: string & object | "PROJECT_LEAD" | "UNASSIGNED"; avatarId?: number; categoryId?: number; description?: string; expand?: string; issueSecurityScheme?: number; key?: string; lead?: string; name?: string; notificationScheme?: number; permissionScheme?: number; projectIdOrKey: string; projectTemplateKey?: string; projectTypeKey?: string; url?: string; }-
parameters.assigneeType?string & object | "PROJECT_LEAD" | "UNASSIGNED"-
parameters.avatarId?number-
parameters.categoryId?number-
parameters.description?string-
parameters.expand?stringParameters to expand
parameters.issueSecurityScheme?number-
parameters.key?string-
parameters.lead?string-
parameters.name?string-
parameters.notificationScheme?number-
parameters.permissionScheme?number-
parameters.projectIdOrKey?stringProject id or project key
parameters.projectTemplateKey?string-
parameters.projectTypeKey?string-
parameters.url?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; archived?: boolean; avatarUrls?: Record<string, string>; description?: string; id?: string; key?: string; name?: string; self?: string; }>

projects.updateProjectAvatar ​

ts
updateProjectAvatar: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ fileName?: string; id?: string; isDeletable?: boolean; isSelected?: boolean; isSystemAvatar?: boolean; owner?: string; projectIdOrKey: string; selected?: boolean; urls?: Record<string, string>; }-
parameters.fileName?string-
parameters.id?string-
parameters.isDeletable?boolean-
parameters.isSelected?boolean-
parameters.isSystemAvatar?boolean-
parameters.owner?string-
parameters.projectIdOrKey?stringProject id or project key
parameters.selected?boolean-
parameters.urls?Record<string, string>The avatar at each size, keyed by size.
options?RequestOptions-
Returns ​

Promise<void>

projects.updateProjectType ​

ts
updateProjectType: (parameters, options?) => Promise<{
[key: string]: unknown;
  archived?: boolean;
  avatarUrls?: Record<string, string>;
  description?: string;
  id?: string;
  key?: string;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ newProjectTypeKey: string; projectIdOrKey: string; }-
parameters.newProjectTypeKeystringThe key of the new project type
parameters.projectIdOrKey?stringProject id or project key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; archived?: boolean; avatarUrls?: Record<string, string>; description?: string; id?: string; key?: string; name?: string; self?: string; }>

projectVersions ​

ts
projectVersions: object;
ts
createOrUpdateRemoteVersionLink: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ link?: unknown; name?: string; self?: string; versionId: string; }-
parameters.link?unknownThe link itself. Any JSON.
parameters.name?string-
parameters.self?string-
parameters.versionId?stringID of the version.
options?RequestOptions-
Returns ​

Promise<void>

projectVersions.createOrUpdateRemoteVersionLinkByGlobalId ​

ts
createOrUpdateRemoteVersionLinkByGlobalId: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ globalId: string; link?: unknown; name?: string; self?: string; versionId: string; }-
parameters.globalIdstringThe id of the remote issue link to be created or updated.
parameters.link?unknownThe link itself. Any JSON.
parameters.name?string-
parameters.self?string-
parameters.versionId?stringID of the version.
options?RequestOptions-
Returns ​

Promise<void>

projectVersions.createVersion ​

ts
createVersion: (parameters, options?) => Promise<{
[key: string]: unknown;
  archived?: boolean;
  description?: string;
  expand?: string;
  id?: string;
  moveUnfixedIssuesTo?: string;
  name?: string;
  overdue?: boolean;
  project?: string;
  projectId?: number;
  released?: boolean;
  releaseDate?: Date;
  releaseDateSet?: boolean;
  self?: string;
  startDate?: Date;
  startDateSet?: boolean;
  userReleaseDate?: string;
  userStartDate?: string;
}>;
Parameters ​
ParameterType
parameters{ archived?: boolean; description?: string; expand?: string; id?: string; moveUnfixedIssuesTo?: string; name?: string; overdue?: boolean; project?: string; projectId?: number; released?: boolean; releaseDate?: unknown; releaseDateSet?: boolean; self?: string; startDate?: unknown; startDateSet?: boolean; userReleaseDate?: string; userStartDate?: string; }
parameters.archived?boolean
parameters.description?string
parameters.expand?string
parameters.id?string
parameters.moveUnfixedIssuesTo?string
parameters.name?string
parameters.overdue?boolean
parameters.project?string
parameters.projectId?number
parameters.released?boolean
parameters.releaseDate?unknown
parameters.releaseDateSet?boolean
parameters.self?string
parameters.startDate?unknown
parameters.startDateSet?boolean
parameters.userReleaseDate?string
parameters.userStartDate?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; archived?: boolean; description?: string; expand?: string; id?: string; moveUnfixedIssuesTo?: string; name?: string; overdue?: boolean; project?: string; projectId?: number; released?: boolean; releaseDate?: Date; releaseDateSet?: boolean; self?: string; startDate?: Date; startDateSet?: boolean; userReleaseDate?: string; userStartDate?: string; }>

ts
deleteRemoteVersionLink: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ globalId: string; versionId: string; }-
parameters.globalIdstringThe id of the remote issue link to be deleted.
parameters.versionId?stringID of the version.
options?RequestOptions-
Returns ​

Promise<void>

projectVersions.deleteRemoteVersionLinksByVersionId ​

ts
deleteRemoteVersionLinksByVersionId: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ versionId: string; }-
parameters.versionIdstringID of the version.
options?RequestOptions-
Returns ​

Promise<void>

projectVersions.deleteVersionAndSwap ​

ts
deleteVersionAndSwap: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ customFieldReplacementList?: object[]; id: string; moveAffectedIssuesTo?: number; moveFixIssuesTo?: number; }-
parameters.customFieldReplacementList?object[]-
parameters.id?stringThe version to delete
parameters.moveAffectedIssuesTo?number-
parameters.moveFixIssuesTo?number-
options?RequestOptions-
Returns ​

Promise<void>

projectVersions.getPaginatedVersions ​

ts
getPaginatedVersions: (parameters?, options?) => Promise<{
[key: string]: unknown;
  isLast: boolean;
  maxResults: number;
  startAt: number;
  total?: number;
  values: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ maxResults?: number; projectIds?: number[]; query?: string; startAt?: number; }-
parameters.maxResults?numberMaximum number of versions to return
parameters.projectIds?number[]Set of project IDs to filter versions with
parameters.query?stringString that version names will be matched with
parameters.startAt?numberIndex of the first version to return
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast: boolean; maxResults: number; startAt: number; total?: number; values: object[]; }>

ts
getRemoteVersionLink: (parameters, options?) => Promise<{
[key: string]: unknown;
  link?: unknown;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ globalId: string; versionId: string; }-
parameters.globalIdstringThe id of the remote issue link to be returned. If (not provided) all remote links for the issue are returned. Remote version links follow the same general rules that Issue Links do, except that they are permitted to use any arbitrary well-formed JSON data format with no restrictions imposed. It is recommended, but not required, that they follow the same format used for Remote Issue Links, as described at https://developer.atlassian.com/display/JIRADEV/Fields+in+Remote+Issue+Links.
parameters.versionId?stringID of the version.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; link?: unknown; name?: string; self?: string; }>

ts
getRemoteVersionLinks: (parameters?, options?) => Promise<{
[key: string]: unknown;
  links?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ globalId?: string; }-
parameters.globalId?stringThe id of the remote issue link to be returned.
options?RequestOptions-
Returns ​

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

projectVersions.getRemoteVersionLinksByVersionId ​

ts
getRemoteVersionLinksByVersionId: (parameters, options?) => Promise<{
[key: string]: unknown;
  links?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ versionId: string; }-
parameters.versionIdstringID of the version.
options?RequestOptions-
Returns ​

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

projectVersions.getVersion ​

ts
getVersion: (parameters, options?) => Promise<{
[key: string]: unknown;
  archived?: boolean;
  description?: string;
  expand?: string;
  id?: string;
  moveUnfixedIssuesTo?: string;
  name?: string;
  overdue?: boolean;
  project?: string;
  projectId?: number;
  released?: boolean;
  releaseDate?: Date;
  releaseDateSet?: boolean;
  self?: string;
  startDate?: Date;
  startDateSet?: boolean;
  userReleaseDate?: string;
  userStartDate?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string; id: string; }-
parameters.expand?string-
parameters.id?stringID of the version.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; archived?: boolean; description?: string; expand?: string; id?: string; moveUnfixedIssuesTo?: string; name?: string; overdue?: boolean; project?: string; projectId?: number; released?: boolean; releaseDate?: Date; releaseDateSet?: boolean; self?: string; startDate?: Date; startDateSet?: boolean; userReleaseDate?: string; userStartDate?: string; }>

projectVersions.getVersionRelatedIssues ​

ts
getVersionRelatedIssues: (parameters, options?) => Promise<{
[key: string]: unknown;
  customFieldNames?: object[];
  issueCountWithCustomFieldsShowingVersion?: number;
  issuesAffectedCount?: number;
  issuesFixedCount?: number;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringID of the version.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; customFieldNames?: object[]; issueCountWithCustomFieldsShowingVersion?: number; issuesAffectedCount?: number; issuesFixedCount?: number; self?: string; }>

projectVersions.getVersionUnresolvedIssues ​

ts
getVersionUnresolvedIssues: (parameters, options?) => Promise<{
[key: string]: unknown;
  issuesUnresolvedCount?: number;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringID of the version.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; issuesUnresolvedCount?: number; self?: string; }>

projectVersions.merge ​

ts
merge: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; moveIssuesTo: string; }-
parameters.idstringThe version that will be merged to version moveIssuesTo and removed
parameters.moveIssuesTo?stringThe version to set fixVersion to on issues where the deleted version is the fix version, If null then the fixVersion is removed.
options?RequestOptions-
Returns ​

Promise<void>

projectVersions.moveVersion ​

ts
moveVersion: (parameters, options?) => Promise<{
[key: string]: unknown;
  archived?: boolean;
  description?: string;
  expand?: string;
  id?: string;
  moveUnfixedIssuesTo?: string;
  name?: string;
  overdue?: boolean;
  project?: string;
  projectId?: number;
  released?: boolean;
  releaseDate?: Date;
  releaseDateSet?: boolean;
  self?: string;
  startDate?: Date;
  startDateSet?: boolean;
  userReleaseDate?: string;
  userStartDate?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ after?: string; id: string; position?: string & object | "Earlier" | "Later" | "First" | "Last"; }-
parameters.after?string-
parameters.id?stringID of the version.
parameters.position?string & object | "Earlier" | "Later" | "First" | "Last"-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; archived?: boolean; description?: string; expand?: string; id?: string; moveUnfixedIssuesTo?: string; name?: string; overdue?: boolean; project?: string; projectId?: number; released?: boolean; releaseDate?: Date; releaseDateSet?: boolean; self?: string; startDate?: Date; startDateSet?: boolean; userReleaseDate?: string; userStartDate?: string; }>

projectVersions.updateVersion ​

ts
updateVersion: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ body: { archived?: boolean; description?: string; expand?: string; id?: string; moveUnfixedIssuesTo?: string; name?: string; overdue?: boolean; project?: string; projectId?: number; released?: boolean; releaseDate?: unknown; releaseDateSet?: boolean; self?: string; startDate?: unknown; startDateSet?: boolean; userReleaseDate?: string; userStartDate?: string; }; id: string; }-
parameters.body{ archived?: boolean; description?: string; expand?: string; id?: string; moveUnfixedIssuesTo?: string; name?: string; overdue?: boolean; project?: string; projectId?: number; released?: boolean; releaseDate?: unknown; releaseDateSet?: boolean; self?: string; startDate?: unknown; startDateSet?: boolean; userReleaseDate?: string; userStartDate?: string; }-
parameters.body.archived?boolean-
parameters.body.description?string-
parameters.body.expand?string-
parameters.body.id?string-
parameters.body.moveUnfixedIssuesTo?string-
parameters.body.name?string-
parameters.body.overdue?boolean-
parameters.body.project?string-
parameters.body.projectId?number-
parameters.body.released?boolean-
parameters.body.releaseDate?unknown-
parameters.body.releaseDateSet?boolean-
parameters.body.self?string-
parameters.body.startDate?unknown-
parameters.body.startDateSet?boolean-
parameters.body.userReleaseDate?string-
parameters.body.userStartDate?string-
parameters.id?stringID of the version.
options?RequestOptions-
Returns ​

Promise<void>

readOnlyMode ​

ts
readOnlyMode: object;

readOnlyMode.getReadOnlyMode ​

ts
getReadOnlyMode: (options?) => Promise<{
[key: string]: unknown;
  enabled?: boolean;
  endTime?: string;
  message?: string;
  timeZone?: string;
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; enabled?: boolean; endTime?: string; message?: string; timeZone?: string; }>

readOnlyMode.updateReadOnlyMode ​

ts
updateReadOnlyMode: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ enabled?: boolean; endTime?: string; message?: string; timeZone?: string; }-
parameters.enabled?booleanWhether read-only mode should be enabled.
parameters.endTime?stringThe estimated end time as a local date-time (no offset). Omit to leave unchanged; send an empty string to clear it.
parameters.message?stringThe banner message shown to users while read-only mode is active. Omit to leave it unchanged; send an empty string to reset it to the default.
parameters.timeZone?stringThe time zone id the estimated end time is expressed in. Omit to leave unchanged; send an empty string to clear it.
options?RequestOptions-
Returns ​

Promise<void>

screens ​

ts
screens: object;

screens.addField ​

ts
addField: (parameters, options?) => Promise<{
[key: string]: unknown;
  id?: string;
  name?: string;
  showWhenEmpty?: boolean;
  type?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ fieldId?: string; screenId: number; tabId: number; }-
parameters.fieldId?string-
parameters.screenId?numberId of screen
parameters.tabId?numberId of tab
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; id?: string; name?: string; showWhenEmpty?: boolean; type?: string; }>

screens.addFieldToDefaultScreen ​

ts
addFieldToDefaultScreen: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ fieldId: string; }
parameters.fieldIdstring
options?RequestOptions
Returns ​

Promise<void>

screens.addTab ​

ts
addTab: (parameters, options?) => Promise<{
[key: string]: unknown;
  id?: number;
  name?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id?: number; name?: string; screenId: number; }-
parameters.id?number-
parameters.name?string-
parameters.screenId?numberId of screen
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; id?: number; name?: string; }>

screens.deleteTab ​

ts
deleteTab: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ screenId: number; tabId: number; }-
parameters.screenIdnumberId of screen
parameters.tabId?numberId of tab
options?RequestOptions-
Returns ​

Promise<void>

screens.getAllFields ​

ts
getAllFields: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ projectKey?: string; screenId: number; tabId: number; }-
parameters.projectKey?stringThe key of the project; this parameter is optional
parameters.screenId?numberId of screen
parameters.tabId?numberId of tab
options?RequestOptions-
Returns ​

Promise<object[]>

screens.getAllScreens ​

ts
getAllScreens: (parameters?, options?) => Promise<object[]>;
Parameters ​
ParameterType
parameters?{ expand?: string; maxResults?: string; search?: string; startAt?: string; }
parameters.expand?string
parameters.maxResults?string
parameters.search?string
parameters.startAt?string
options?RequestOptions
Returns ​

Promise<object[]>

screens.getAllTabs ​

ts
getAllTabs: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ projectKey?: string; screenId: number; }-
parameters.projectKey?stringThe key of the project; this parameter is optional
parameters.screenId?numberId of screen
options?RequestOptions-
Returns ​

Promise<object[]>

screens.getFieldsToAdd ​

ts
getFieldsToAdd: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ screenId: number; }-
parameters.screenIdnumberId of screen
options?RequestOptions-
Returns ​

Promise<object[]>

screens.moveField ​

ts
moveField: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ after?: string; id: string; position?: string & object | "Earlier" | "Later" | "First" | "Last"; screenId: number; tabId: number; }-
parameters.after?string-
parameters.id?stringId of field
parameters.position?string & object | "Earlier" | "Later" | "First" | "Last"-
parameters.screenId?numberId of screen
parameters.tabId?numberId of tab
options?RequestOptions-
Returns ​

Promise<void>

screens.moveTab ​

ts
moveTab: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ pos: number; screenId: number; tabId: number; }-
parameters.posnumberPosition of tab
parameters.screenId?numberId of screen
parameters.tabId?numberId of tab
options?RequestOptions-
Returns ​

Promise<void>

screens.removeField ​

ts
removeField: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; screenId: number; tabId: number; }-
parameters.idstringId of field
parameters.screenId?numberId of screen
parameters.tabId?numberId of tab
options?RequestOptions-
Returns ​

Promise<void>

screens.renameTab ​

ts
renameTab: (parameters, options?) => Promise<{
[key: string]: unknown;
  id?: number;
  name?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id?: number; name?: string; screenId: number; tabId: number; }-
parameters.id?number-
parameters.name?string-
parameters.screenId?numberId of screen
parameters.tabId?numberId of tab
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; id?: number; name?: string; }>

screens.updateShowWhenEmptyIndicator ​

ts
updateShowWhenEmptyIndicator: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; newValue: boolean; screenId: number; tabId: number; }-
parameters.idstringId of field
parameters.newValue?booleanNew value of 'showWhenEmptyIndicator'
parameters.screenId?numberId of screen
parameters.tabId?numberId of tab
options?RequestOptions-
Returns ​

Promise<void>

searchLimits ​

ts
searchLimits: object;

searchLimits.getMaxAggregationBuckets ​

ts
getMaxAggregationBuckets: (options?) => Promise<number>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<number>

searchLimits.getMaxResultWindow ​

ts
getMaxResultWindow: (options?) => Promise<number>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<number>

serverInfo ​

ts
serverInfo: object;

serverInfo.getServerInfo ​

ts
getServerInfo: (options?) => Promise<{
[key: string]: unknown;
  baseUrl: string;
  buildDate?: string;
  buildNumber?: number;
  databaseBuildNumber?: number;
  deploymentType: string;
  scmInfo?: string;
  serverTime?: string;
  serverTitle?: string;
  version: string;
  versionNumbers: number[];
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; baseUrl: string; buildDate?: string; buildNumber?: number; databaseBuildNumber?: number; deploymentType: string; scmInfo?: string; serverTime?: string; serverTitle?: string; version: string; versionNumbers: number[]; }>

session ​

ts
session: object;

session.currentUser ​

ts
currentUser: (options?) => Promise<{
[key: string]: unknown;
  active?: boolean;
  applicationRoles?: {
   [key: string]: unknown;
     items?: Record<string, any>[];
     size?: number;
  };
  avatarUrls?: Record<string, string>;
  deleted?: boolean;
  displayName?: string;
  emailAddress?: string;
  expand?: string;
  groups?: {
   [key: string]: unknown;
     items?: Record<string, any>[];
     size?: number;
  };
  key?: string;
  locale?: string;
  name?: string;
  self?: string;
  timeZone?: string;
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; items?: Record<string, any>[]; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; items?: Record<string, any>[]; size?: number; }; key?: string; locale?: string; name?: string; self?: string; timeZone?: string; }>

session.login ​

ts
login: (parameters, options?) => Promise<{
[key: string]: unknown;
  loginInfo?: {
   [key: string]: unknown;
     failedLoginCount?: number;
     lastFailedLoginTime?: Date;
     loginCount?: number;
     previousLoginTime?: Date;
  };
  session?: {
   [key: string]: unknown;
     name?: string;
     value?: string;
  };
}>;
Parameters ​
ParameterType
parameters{ password?: string; username?: string; }
parameters.password?string
parameters.username?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; loginInfo?: { [key: string]: unknown; failedLoginCount?: number; lastFailedLoginTime?: Date; loginCount?: number; previousLoginTime?: Date; }; session?: { [key: string]: unknown; name?: string; value?: string; }; }>

session.logout ​

ts
logout: (options?) => Promise<void>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<void>

sprint ​

ts
sprint: object;

sprint.createSprint ​

ts
createSprint: (parameters, options?) => Promise<{
[key: string]: unknown;
  activatedDate?: string;
  autoStartStop?: boolean;
  completeDate?: string;
  endDate?: string;
  goal?: string;
  id?: number;
  incompleteIssuesDestinationId?: number;
  name?: string;
  originBoardId?: number;
  self?: string;
  startDate?: string;
  state?: string;
  synced?: boolean;
}>;
Parameters ​
ParameterType
parameters{ autoStartStop?: boolean; endDate?: string; goal?: string; incompleteIssuesDestinationId?: number; name?: string; originBoardId?: number; startDate?: string; synced?: boolean; userProfileTimeZone?: string; }
parameters.autoStartStop?boolean
parameters.endDate?string
parameters.goal?string
parameters.incompleteIssuesDestinationId?number
parameters.name?string
parameters.originBoardId?number
parameters.startDate?string
parameters.synced?boolean
parameters.userProfileTimeZone?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; activatedDate?: string; autoStartStop?: boolean; completeDate?: string; endDate?: string; goal?: string; id?: number; incompleteIssuesDestinationId?: number; name?: string; originBoardId?: number; self?: string; startDate?: string; state?: string; synced?: boolean; }>

sprint.deleteSprint ​

ts
deleteSprint: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ sprintId: number; }-
parameters.sprintIdnumberThe Id of the sprint to delete.
options?RequestOptions-
Returns ​

Promise<void>

sprint.deleteSprintProperty ​

ts
deleteSprintProperty: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ propertyKey: string; sprintId: number; }-
parameters.propertyKeystringThe key of the property to remove.
parameters.sprintId?numberThe id of the sprint from which the property will be removed.
options?RequestOptions-
Returns ​

Promise<void>

sprint.getIssuesForSprint ​

ts
getIssuesForSprint: (parameters, options?) => Promise<{
[key: string]: unknown;
  expand?: string | null;
  issues?: object[];
  maxResults?: number;
  maxResultWindow?: number;
  names?: Record<string, string> | null;
  schema?:   | Record<string, {
   [key: string]: unknown;
     custom?: string;
     customId?: number;
     items?: string;
     system?: string;
     type?: string;
   }>
     | null;
  startAt?: number;
  total?: number;
  warningMessages?: string[] | null;
}>;
Parameters ​
ParameterTypeDescription
parameters{ expand?: string | string[]; fields?: string | string[]; jql?: string; maxResults?: number; sprintId: number; startAt?: number; validateQuery?: boolean; }-
parameters.expand?string | string[]A comma-separated list of the parameters to expand.
parameters.fields?string | string[]The list of fields to return for each issue. By default, all navigable and Agile fields are returned.
parameters.jql?stringFilters results using a JQL query. If you define an order in your JQL query, it will override the default order of the returned issues.
parameters.maxResults?numberThe maximum number of issues to return per page. Default: 50. See the 'Pagination' section at the top of this page for more details. Note, the total number of issues returned is limited by the property 'jira.search.views.default.max' in your JIRA instance. If you exceed this limit, your results will be truncated.
parameters.sprintId?numberThe Id of the sprint that contains the requested issues.
parameters.startAt?numberThe starting index of the returned issues. Base index: 0. See the 'Pagination' section at the top of this page for more details.
parameters.validateQuery?booleanSpecifies whether to validate the JQL query or not. Default: true.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; expand?: string | null; issues?: object[]; maxResults?: number; maxResultWindow?: number; names?: Record<string, string> | null; schema?: | Record<string, { [key: string]: unknown; custom?: string; customId?: number; items?: string; system?: string; type?: string; }> | null; startAt?: number; total?: number; warningMessages?: string[] | null; }>

sprint.getSprint ​

ts
getSprint: (parameters, options?) => Promise<{
[key: string]: unknown;
  activatedDate?: string;
  autoStartStop?: boolean;
  completeDate?: string;
  endDate?: string;
  goal?: string;
  id?: number;
  incompleteIssuesDestinationId?: number;
  name?: string;
  originBoardId?: number;
  self?: string;
  startDate?: string;
  state?: string;
  synced?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ sprintId: number; }-
parameters.sprintIdnumberThe Id of the requested sprint.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; activatedDate?: string; autoStartStop?: boolean; completeDate?: string; endDate?: string; goal?: string; id?: number; incompleteIssuesDestinationId?: number; name?: string; originBoardId?: number; self?: string; startDate?: string; state?: string; synced?: boolean; }>

sprint.getSprintProperty ​

ts
getSprintProperty: (parameters, options?) => Promise<{
[key: string]: unknown;
  key?: string;
  value?: unknown;
}>;
Parameters ​
ParameterTypeDescription
parameters{ propertyKey: string; sprintId: number; }-
parameters.propertyKeystringThe key of the property to return.
parameters.sprintId?numberThe id of the sprint from which the property will be returned.
options?RequestOptions-
Returns ​

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

sprint.getSprintPropertyKeys ​

ts
getSprintPropertyKeys: (parameters, options?) => Promise<{
[key: string]: unknown;
  keys?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ sprintId: number; }-
parameters.sprintIdnumberThe id of the sprint from which property keys will be returned.
options?RequestOptions-
Returns ​

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

sprint.moveIssuesToSprint ​

ts
moveIssuesToSprint: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ issues?: string[]; sprintId: number; }-
parameters.issues?string[]-
parameters.sprintId?numberThe Id of the sprint that you want to assign issues to.
options?RequestOptions-
Returns ​

Promise<void>

sprint.partiallyUpdateSprint ​

ts
partiallyUpdateSprint: (parameters, options?) => Promise<{
[key: string]: unknown;
  activatedDate?: string;
  autoStartStop?: boolean;
  completeDate?: string;
  endDate?: string;
  goal?: string;
  id?: number;
  incompleteIssuesDestinationId?: number;
  name?: string;
  originBoardId?: number;
  self?: string;
  startDate?: string;
  state?: string;
  synced?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ activatedDate?: string; autoStartStop?: boolean; completeDate?: string; endDate?: string; goal?: string; id?: number; incompleteIssuesDestinationId?: number; name?: string; originBoardId?: number; self?: string; sprintId: number; startDate?: string; state?: string; synced?: boolean; }-
parameters.activatedDate?string-
parameters.autoStartStop?boolean-
parameters.completeDate?string-
parameters.endDate?string-
parameters.goal?string-
parameters.id?number-
parameters.incompleteIssuesDestinationId?number-
parameters.name?string-
parameters.originBoardId?number-
parameters.self?string-
parameters.sprintId?numberThe Id of the sprint to update.
parameters.startDate?string-
parameters.state?string-
parameters.synced?boolean-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; activatedDate?: string; autoStartStop?: boolean; completeDate?: string; endDate?: string; goal?: string; id?: number; incompleteIssuesDestinationId?: number; name?: string; originBoardId?: number; self?: string; startDate?: string; state?: string; synced?: boolean; }>

sprint.setSprintProperty ​

ts
setSprintProperty: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ body: Record<string, any>; propertyKey: string; sprintId: number; }-
parameters.bodyRecord<string, any>-
parameters.propertyKey?stringThe key of the sprint's property. The maximum length of the key is 255 bytes.
parameters.sprintId?numberThe id of the sprint on which the property will be set.
options?RequestOptions-
Returns ​

Promise<void>

sprint.swapSprint ​

ts
swapSprint: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ sprintId: number; sprintToSwapWith?: number; swap?: number; }-
parameters.sprintIdnumberThe Id of the sprint to swap.
parameters.sprintToSwapWith?number-
parameters.swap?number-
options?RequestOptions-
Returns ​

Promise<void>

sprint.unmapAllSprints ​

ts
unmapAllSprints: (options?) => Promise<void>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<void>

sprint.unmapSprints ​

ts
unmapSprints: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ sprintIds?: number[]; }
parameters.sprintIds?number[]
options?RequestOptions
Returns ​

Promise<void>

sprint.updateSprint ​

ts
updateSprint: (parameters, options?) => Promise<{
[key: string]: unknown;
  activatedDate?: string;
  autoStartStop?: boolean;
  completeDate?: string;
  endDate?: string;
  goal?: string;
  id?: number;
  incompleteIssuesDestinationId?: number;
  name?: string;
  originBoardId?: number;
  self?: string;
  startDate?: string;
  state?: string;
  synced?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ activatedDate?: string; autoStartStop?: boolean; completeDate?: string; endDate?: string; goal?: string; id?: number; incompleteIssuesDestinationId?: number; name?: string; originBoardId?: number; self?: string; sprintId: number; startDate?: string; state?: string; synced?: boolean; }-
parameters.activatedDate?string-
parameters.autoStartStop?boolean-
parameters.completeDate?string-
parameters.endDate?string-
parameters.goal?string-
parameters.id?number-
parameters.incompleteIssuesDestinationId?number-
parameters.name?string-
parameters.originBoardId?number-
parameters.self?string-
parameters.sprintId?numberThe Id of the sprint to update.
parameters.startDate?string-
parameters.state?string-
parameters.synced?boolean-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; activatedDate?: string; autoStartStop?: boolean; completeDate?: string; endDate?: string; goal?: string; id?: number; incompleteIssuesDestinationId?: number; name?: string; originBoardId?: number; self?: string; startDate?: string; state?: string; synced?: boolean; }>

terminology ​

ts
terminology: object;

terminology.getAllTerminologyEntries ​

ts
getAllTerminologyEntries: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>

terminology.getTerminologyEntry ​

ts
getTerminologyEntry: (parameters, options?) => Promise<{
[key: string]: unknown;
  isDefault?: boolean;
  newName?: string;
  newNamePlural?: string;
  originalName?: string;
  originalNamePlural?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ originalName: string; }-
parameters.originalNamestringA numeric StatusCategory id or a status category key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isDefault?: boolean; newName?: string; newNamePlural?: string; originalName?: string; originalNamePlural?: string; }>

terminology.setTerminologyEntries ​

ts
setTerminologyEntries: (parameters, options?) => Promise<unknown>;
Parameters ​
ParameterType
parameters{ newName?: string; newNamePlural?: string; originalName?: string; }
parameters.newName?string
parameters.newNamePlural?string
parameters.originalName?string
options?RequestOptions
Returns ​

Promise<unknown>

upgrade ​

ts
upgrade: object;

upgrade.getUpgradeResult ​

ts
getUpgradeResult: (options?) => Promise<{
[key: string]: unknown;
  duration?: number;
  message?: string;
  outcome?: string;
  startTime?: Date;
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; duration?: number; message?: string; outcome?: string; startTime?: Date; }>

upgrade.runUpgradesNow ​

ts
runUpgradesNow: (options?) => Promise<void>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<void>

users ​

ts
users: object;

users.addUserToApplication ​

ts
addUserToApplication: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ applicationKey?: string; username?: string; }-
parameters.applicationKey?stringApplication key
parameters.username?stringUsername
options?RequestOptions-
Returns ​

Promise<void>

users.changeUserPassword ​

ts
changeUserPassword: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ currentPassword?: string; key?: string; password?: string; username?: string; }-
parameters.currentPassword?string-
parameters.key?stringUser key
parameters.password?string-
parameters.username?stringThe username
options?RequestOptions-
Returns ​

Promise<void>

users.createUser ​

ts
createUser: (parameters, options?) => Promise<{
[key: string]: unknown;
  active?: boolean;
  applicationKeys?: string[];
  displayName?: string;
  emailAddress?: string;
  key?: string;
  name?: string;
  notification?: string;
  password?: string;
  self?: string;
}>;
Parameters ​
ParameterType
parameters{ active?: boolean; applicationKeys?: string[]; displayName?: string; emailAddress?: string; key?: string; name?: string; notification?: string; password?: string; self?: string; }
parameters.active?boolean
parameters.applicationKeys?string[]
parameters.displayName?string
parameters.emailAddress?string
parameters.key?string
parameters.name?string
parameters.notification?string
parameters.password?string
parameters.self?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; active?: boolean; applicationKeys?: string[]; displayName?: string; emailAddress?: string; key?: string; name?: string; notification?: string; password?: string; self?: string; }>

users.createUserAvatarFromTemporary ​

ts
createUserAvatarFromTemporary: (parameters, options?) => Promise<{
[key: string]: unknown;
  fileName?: string;
  id?: string;
  isDeletable?: boolean;
  isSelected?: boolean;
  isSystemAvatar?: boolean;
  owner?: string;
  selected?: boolean;
  urls?: Record<string, string>;
}>;
Parameters ​
ParameterTypeDescription
parameters{ cropperOffsetX?: number; cropperOffsetY?: number; cropperWidth?: number; needsCropping?: boolean; url?: string; username?: string; }-
parameters.cropperOffsetX?number-
parameters.cropperOffsetY?number-
parameters.cropperWidth?number-
parameters.needsCropping?boolean-
parameters.url?string-
parameters.username?stringUsername
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; fileName?: string; id?: string; isDeletable?: boolean; isSelected?: boolean; isSystemAvatar?: boolean; owner?: string; selected?: boolean; urls?: Record<string, string>; }>

users.defaultColumns ​

ts
defaultColumns: (parameters?, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters?{ username?: string; }-
parameters.username?stringUsername
options?RequestOptions-
Returns ​

Promise<object[]>

users.deleteSession ​

ts
deleteSession: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ username: string; }-
parameters.usernamestringA String containing username.
options?RequestOptions-
Returns ​

Promise<void>

users.deleteUserAvatar ​

ts
deleteUserAvatar: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; username?: string; }-
parameters.idnumberDatabase id for avatar
parameters.username?stringUsername
options?RequestOptions-
Returns ​

Promise<void>

users.deleteUserProperty ​

ts
deleteUserProperty: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ propertyKey: string; userKey?: string; username?: string; }-
parameters.propertyKeystringThe key of the user's property
parameters.userKey?stringKey of the user whose property is to be removed
parameters.username?stringUsername of the user whose property is to be removed
options?RequestOptions-
Returns ​

Promise<void>

users.findAssignableUsers ​

ts
findAssignableUsers: (parameters?, options?) => Promise<{
[key: string]: unknown;
  active?: boolean;
  applicationRoles?: {
   [key: string]: unknown;
     callback?: {
      [key: string]: unknown;
     };
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  avatarUrls?: Record<string, string>;
  deleted?: boolean;
  displayName?: string;
  emailAddress?: string;
  expand?: string;
  groups?: {
   [key: string]: unknown;
     callback?: {
      [key: string]: unknown;
     };
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  key?: string;
  lastLoginTime?: string;
  locale?: string;
  name?: string;
  self?: string;
  timeZone?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ actionDescriptorId?: number; issueKey?: string; maxResults?: number; project?: string; username?: string; }-
parameters.actionDescriptorId?number-
parameters.issueKey?stringThe issue key for the issue being edited we need to find assignable users for.
parameters.maxResults?numberThe maximum number of users to return (defaults to 50). The maximum allowed value is 100 (The combination of maxResults and startAt is limited to the first 100 results). If you specify a value that is higher than this number, your search results will be truncated. If you send a request with startAt=98 and maxResults=20, it will only return 2 users.
parameters.project?string-
parameters.username?stringThe username
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: string]: unknown; }; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: string]: unknown; }; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }>

users.findBulkAssignableUsers ​

ts
findBulkAssignableUsers: (parameters?, options?) => Promise<{
[key: string]: unknown;
  active?: boolean;
  applicationRoles?: {
   [key: string]: unknown;
     callback?: {
      [key: string]: unknown;
     };
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  avatarUrls?: Record<string, string>;
  deleted?: boolean;
  displayName?: string;
  emailAddress?: string;
  expand?: string;
  groups?: {
   [key: string]: unknown;
     callback?: {
      [key: string]: unknown;
     };
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  key?: string;
  lastLoginTime?: string;
  locale?: string;
  name?: string;
  self?: string;
  timeZone?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ maxResults?: number; projectKeys?: string | string[]; username?: string; }-
parameters.maxResults?numberThe maximum number of users to return (defaults to 50). The maximum allowed value is 100 (The combination of maxResults and startAt is limited to the first 100 results). If you specify a value that is higher than this number, your search results will be truncated. If you send a request with startAt=98 and maxResults=20, it will only return 2 users.
parameters.projectKeys?string | string[]The keys of the projects we are finding assignable users for, comma-separated
parameters.username?stringThe username
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: string]: unknown; }; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: string]: unknown; }; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }>

users.findUsers ​

ts
findUsers: (parameters?, options?) => Promise<{
[key: string]: unknown;
  active?: boolean;
  applicationRoles?: {
   [key: string]: unknown;
     callback?: {
      [key: string]: unknown;
     };
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  avatarUrls?: Record<string, string>;
  deleted?: boolean;
  displayName?: string;
  emailAddress?: string;
  expand?: string;
  groups?: {
   [key: string]: unknown;
     callback?: {
      [key: string]: unknown;
     };
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  key?: string;
  lastLoginTime?: string;
  locale?: string;
  name?: string;
  self?: string;
  timeZone?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ includeActive?: boolean; includeInactive?: boolean; maxResults?: number; startAt?: number; username?: string; }-
parameters.includeActive?booleanIf true, then active users are included in the results (default true)
parameters.includeInactive?booleanIf true, then inactive users are included in the results (default false)
parameters.maxResults?numberThe maximum number of users to return (defaults to 50). The maximum allowed value is 100 (The combination of maxResults and startAt is limited to the first 100 results). If you specify a value that is higher than this number, your search results will be truncated. If you send a request with startAt=98 and maxResults=20, it will only return 2 users.
parameters.startAt?numberThe index of the first user to return (0-based). Please note that the startAt parameter will be deprecated in a future release of Jira 10.3.x
parameters.username?stringA query string used to search username, name or e-mail address
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: string]: unknown; }; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: string]: unknown; }; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }>

users.findUsersForPicker ​

ts
findUsersForPicker: (parameters?, options?) => Promise<{
[key: string]: unknown;
  header?: string;
  total?: number;
  users?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ exclude?: string[]; maxResults?: number; query?: string; showAvatar?: boolean; }-
parameters.exclude?string[]List of users to be excluded from the search results
parameters.maxResults?numberThe maximum number of users to return (defaults to 50). The maximum allowed value is 100 (The combination of maxResults and startAt is limited to the first 100 results). If you specify a value that is higher than this number, your search results will be truncated. If you send a request with startAt=98 and maxResults=20, it will only return 2 users.
parameters.query?stringA string used to search username, Name or e-mail address
parameters.showAvatar?booleanIf true, then avatars are included in the results
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; header?: string; total?: number; users?: object[]; }>

users.findUsersWithBrowsePermission ​

ts
findUsersWithBrowsePermission: (parameters?, options?) => Promise<{
[key: string]: unknown;
  active?: boolean;
  applicationRoles?: {
   [key: string]: unknown;
     callback?: {
      [key: string]: unknown;
     };
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  avatarUrls?: Record<string, string>;
  deleted?: boolean;
  displayName?: string;
  emailAddress?: string;
  expand?: string;
  groups?: {
   [key: string]: unknown;
     callback?: {
      [key: string]: unknown;
     };
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  key?: string;
  lastLoginTime?: string;
  locale?: string;
  name?: string;
  self?: string;
  timeZone?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ issueKey?: string; maxResults?: number; projectKey?: string; username?: string; }-
parameters.issueKey?stringThe issue key for the issue being edited we need to find viewable users for.
parameters.maxResults?numberThe maximum number of users to return (defaults to 50). The maximum allowed value is 100 (The combination of maxResults and startAt is limited to the first 100 results). If you specify a value that is higher than this number, your search results will be truncated. If you send a request with startAt=98 and maxResults=20, it will only return 2 users.
parameters.projectKey?stringThe optional project key to search for users with if no issueKey is supplied.
parameters.username?stringThe username filter, no users returned if left blank
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: string]: unknown; }; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: string]: unknown; }; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }>

users.getA11yPersonalSettings ​

ts
getA11yPersonalSettings: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>

users.getAllUserAvatars ​

ts
getAllUserAvatars: (parameters?, options?) => Promise<{
[key: string]: unknown;
  custom?: object[];
  system?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ username?: string; }-
parameters.username?stringUsername
options?RequestOptions-
Returns ​

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

users.getDuplicatedUsersCount ​

ts
getDuplicatedUsersCount: (parameters?, options?) => Promise<{
[key: string]: unknown;
  active?: boolean;
  applicationRoles?: {
   [key: string]: unknown;
     callback?: {
      [key: string]: unknown;
     };
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  avatarUrls?: Record<string, string>;
  deleted?: boolean;
  displayName?: string;
  emailAddress?: string;
  expand?: string;
  groups?: {
   [key: string]: unknown;
     callback?: {
      [key: string]: unknown;
     };
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  key?: string;
  lastLoginTime?: string;
  locale?: string;
  name?: string;
  self?: string;
  timeZone?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ flush?: boolean; }-
parameters.flush?booleanIf set to true forces cache flush, user must be sysadmin for this parameter to have an effect.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: string]: unknown; }; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: string]: unknown; }; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }>

users.getDuplicatedUsersMapping ​

ts
getDuplicatedUsersMapping: (parameters?, options?) => Promise<{
[key: string]: unknown;
  fileName?: string;
  id?: string;
  isDeletable?: boolean;
  isSelected?: boolean;
  isSystemAvatar?: boolean;
  owner?: string;
  selected?: boolean;
  urls?: Record<string, string>;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ flush?: boolean; }-
parameters.flush?booleanIf set to true forces cache flush, user must be sysadmin for this parameter to have an effect.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; fileName?: string; id?: string; isDeletable?: boolean; isSelected?: boolean; isSystemAvatar?: boolean; owner?: string; selected?: boolean; urls?: Record<string, string>; }>

users.getUser ​

ts
getUser: (parameters?, options?) => Promise<{
[key: string]: unknown;
  active?: boolean;
  applicationRoles?: {
   [key: string]: unknown;
     callback?: {
      [key: string]: unknown;
     };
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  avatarUrls?: Record<string, string>;
  deleted?: boolean;
  displayName?: string;
  emailAddress?: string;
  expand?: string;
  groups?: {
   [key: string]: unknown;
     callback?: {
      [key: string]: unknown;
     };
     maxResults?: number;
     pagingCallback?: {
      [key: string]: unknown;
     };
     size?: number;
  };
  key?: string;
  lastLoginTime?: string;
  locale?: string;
  name?: string;
  self?: string;
  timeZone?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ includeDeleted?: boolean; key?: string; username?: string; }-
parameters.includeDeleted?booleanWhether deleted users should be returned (flag available to users with global ADMIN rights)
parameters.key?stringUser key
parameters.username?stringThe username
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: string]: unknown; }; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: string]: unknown; }; maxResults?: number; pagingCallback?: { [key: string]: unknown; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }>

users.getUserAnonymizationProgress ​

ts
getUserAnonymizationProgress: (parameters?, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters?{ taskId?: number; }-
parameters.taskId?numberThe id of a user anonymization task you wish to obtain details on.
options?RequestOptions-
Returns ​

Promise<void>

users.getUserList ​

ts
getUserList: (parameters?, options?) => Promise<{
[key: string]: unknown;
  isLast?: boolean;
  maxResults?: number;
  nextCursor?: string;
  nextPage?: string;
  self?: string;
  values?: Record<string, any>[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ cursor?: number; maxResults?: number; }-
parameters.cursor?numberThe position in the stream to continue iterating over all users.
parameters.maxResults?numberThe maximum number of users to return per page (defaults to 2000).
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast?: boolean; maxResults?: number; nextCursor?: string; nextPage?: string; self?: string; values?: Record<string, any>[]; }>

users.getUserProperty ​

ts
getUserProperty: (parameters, options?) => Promise<{
[key: string]: unknown;
  key?: string;
  value?: unknown;
}>;
Parameters ​
ParameterTypeDescription
parameters{ propertyKey: string; userKey?: string; username?: string; }-
parameters.propertyKeystringThe key of the user's property
parameters.userKey?stringKey of the user whose property is to be returned
parameters.username?stringUsername of the user whose property is to be returned
options?RequestOptions-
Returns ​

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

users.getUserPropertyKeys ​

ts
getUserPropertyKeys: (parameters?, options?) => Promise<{
[key: string]: unknown;
  keys?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ userKey?: string; username?: string; }-
parameters.userKey?stringKey of the user whose properties are to be returned
parameters.username?stringUsername of the user whose properties are to be returned
options?RequestOptions-
Returns ​

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

users.removeUser ​

ts
removeUser: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ key?: string; username?: string; }-
parameters.key?stringUser key
parameters.username?stringThe username
options?RequestOptions-
Returns ​

Promise<void>

users.removeUserFromApplication ​

ts
removeUserFromApplication: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ applicationKey?: string; username?: string; }-
parameters.applicationKey?stringApplication key
parameters.username?stringUsername
options?RequestOptions-
Returns ​

Promise<void>

users.resetUserColumns ​

ts
resetUserColumns: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ username?: string; }-
parameters.username?stringUsername
options?RequestOptions-
Returns ​

Promise<void>

users.scheduleUserAnonymization ​

ts
scheduleUserAnonymization: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ newOwnerKey?: string; userKey?: string; }
parameters.newOwnerKey?string
parameters.userKey?string
options?RequestOptions
Returns ​

Promise<void>

users.scheduleUserAnonymizationRerun ​

ts
scheduleUserAnonymizationRerun: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ newOwnerKey?: string; oldUserKey?: string; oldUserName?: string; userKey?: string; }
parameters.newOwnerKey?string
parameters.oldUserKey?string
parameters.oldUserName?string
parameters.userKey?string
options?RequestOptions
Returns ​

Promise<void>

users.setColumnsUrlEncoded ​

ts
setColumnsUrlEncoded: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ columns?: string[]; username?: string; }
parameters.columns?string[]
parameters.username?string
options?RequestOptions
Returns ​

Promise<void>

users.setUserProperty ​

ts
setUserProperty: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ body: Record<string, any>; propertyKey: string; userKey?: string; username?: string; }-
parameters.bodyRecord<string, any>-
parameters.propertyKey?stringThe key of the user's property. The maximum length of the key is 255 bytes.
parameters.userKey?stringKey of the user whose property is to be set
parameters.username?stringUsername of the user whose property is to be set
options?RequestOptions-
Returns ​

Promise<void>

users.storeTemporaryUserAvatarUsingMultiPart ​

ts
storeTemporaryUserAvatarUsingMultiPart: (parameters, options?) => Promise<unknown>;
Parameters ​
ParameterTypeDescription
parameters{ avatar: | AttachmentInput | AttachmentInput[]; username?: string; }-
parameters.avatar| AttachmentInput | AttachmentInput[]-
parameters.username?stringUsername
options?RequestOptions-
Returns ​

Promise<unknown>

users.unlockAnonymization ​

ts
unlockAnonymization: (options?) => Promise<void>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<void>

users.updateUser ​

ts
updateUser: (parameters, options?) => Promise<{
[key: string]: unknown;
  active?: boolean;
  applicationKeys?: string[];
  displayName?: string;
  emailAddress?: string;
  key?: string;
  name?: string;
  notification?: string;
  password?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ body: { active?: boolean; applicationKeys?: string[]; displayName?: string; emailAddress?: string; key?: string; name?: string; notification?: string; password?: string; self?: string; }; key?: string; username?: string; }-
parameters.body{ active?: boolean; applicationKeys?: string[]; displayName?: string; emailAddress?: string; key?: string; name?: string; notification?: string; password?: string; self?: string; }-
parameters.body.active?boolean-
parameters.body.applicationKeys?string[]-
parameters.body.displayName?string-
parameters.body.emailAddress?string-
parameters.body.key?string-
parameters.body.name?string-
parameters.body.notification?string-
parameters.body.password?string-
parameters.body.self?string-
parameters.key?stringUser key
parameters.username?stringThe username
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; active?: boolean; applicationKeys?: string[]; displayName?: string; emailAddress?: string; key?: string; name?: string; notification?: string; password?: string; self?: string; }>

users.updateUserAvatar ​

ts
updateUserAvatar: (parameters, options?) => Promise<{
[key: string]: unknown;
  fileName?: string;
  id?: string;
  isDeletable?: boolean;
  isSelected?: boolean;
  isSystemAvatar?: boolean;
  owner?: string;
  selected?: boolean;
  urls?: Record<string, string>;
}>;
Parameters ​
ParameterTypeDescription
parameters{ fileName?: string; id?: string; isDeletable?: boolean; isSelected?: boolean; isSystemAvatar?: boolean; owner?: string; selected?: boolean; urls?: Record<string, string>; username?: string; }-
parameters.fileName?string-
parameters.id?string-
parameters.isDeletable?boolean-
parameters.isSelected?boolean-
parameters.isSystemAvatar?boolean-
parameters.owner?string-
parameters.selected?boolean-
parameters.urls?Record<string, string>The avatar at each size, keyed by size.
parameters.username?stringUsername
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; fileName?: string; id?: string; isDeletable?: boolean; isSelected?: boolean; isSystemAvatar?: boolean; owner?: string; selected?: boolean; urls?: Record<string, string>; }>

users.validateUserAnonymization ​

ts
validateUserAnonymization: (parameters?, options?) => Promise<{
[key: string]: unknown;
  affectedEntities?: Record<string, object[]>;
  businessLogicValidationFailed?: boolean;
  deleted?: boolean;
  displayName?: string;
  email?: string;
  errors?: Record<string, {
   [key: string]: unknown;
     errorMessages?: string[];
     errors?: Record<string, string>;
  }>;
  expand?: string;
  operations?: string[];
  success?: boolean;
  userKey?: string;
  userName?: string;
  warnings?: Record<string, {
   [key: string]: unknown;
     errorMessages?: string[];
     errors?: Record<string, string>;
  }>;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ expand?: string; userKey?: string; }-
parameters.expand?stringParameter used to include parts of the response.
parameters.userKey?stringThe key of the user to validate anonymization for.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; affectedEntities?: Record<string, object[]>; businessLogicValidationFailed?: boolean; deleted?: boolean; displayName?: string; email?: string; errors?: Record<string, { [key: string]: unknown; errorMessages?: string[]; errors?: Record<string, string>; }>; expand?: string; operations?: string[]; success?: boolean; userKey?: string; userName?: string; warnings?: Record<string, { [key: string]: unknown; errorMessages?: string[]; errors?: Record<string, string>; }>; }>

users.validateUserAnonymizationRerun ​

ts
validateUserAnonymizationRerun: (parameters?, options?) => Promise<{
[key: string]: unknown;
  affectedEntities?: Record<string, object[]>;
  businessLogicValidationFailed?: boolean;
  deleted?: boolean;
  displayName?: string;
  email?: string;
  errors?: Record<string, {
   [key: string]: unknown;
     errorMessages?: string[];
     errors?: Record<string, string>;
  }>;
  expand?: string;
  operations?: string[];
  success?: boolean;
  userKey?: string;
  userName?: string;
  warnings?: Record<string, {
   [key: string]: unknown;
     errorMessages?: string[];
     errors?: Record<string, string>;
  }>;
}>;
Parameters ​
ParameterTypeDescription
parameters?{ expand?: string; oldUserKey?: string; oldUserName?: string; userKey?: string; }-
parameters.expand?stringParameter used to include parts of the response.
parameters.oldUserKey?stringUser key before anonymization, only needed when current value is anonymized. If there is no old key, e.g. because the user was already created using the new key generation strategy, provide a value equal to the current key.
parameters.oldUserName?stringUser name before anonymization, only needed when the current value is anonymized. If there is no old name, provide a value equal to the current name.
parameters.userKey?stringThe key of the user to validate anonymization for.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; affectedEntities?: Record<string, object[]>; businessLogicValidationFailed?: boolean; deleted?: boolean; displayName?: string; email?: string; errors?: Record<string, { [key: string]: unknown; errorMessages?: string[]; errors?: Record<string, string>; }>; expand?: string; operations?: string[]; success?: boolean; userKey?: string; userName?: string; warnings?: Record<string, { [key: string]: unknown; errorMessages?: string[]; errors?: Record<string, string>; }>; }>

webhooks ​

ts
webhooks: object;

webhooks.createWebhook ​

ts
createWebhook: (parameters, options?) => Promise<{
[key: string]: unknown;
  active?: boolean;
  configuration?: Record<string, any>;
  createdDate?: number;
  events?: string[];
  id: number;
  name: string;
  scopeType?: string;
  sslVerificationRequired?: boolean;
  statistics?: {
   [key: string]: unknown;
     counts?: {
      [key: string]: unknown;
        errors?: number;
        failures?: number;
        successes?: number;
        window?: {
         [key: ...]: ...;
           duration?: ...;
           start?: ...;
        };
     };
     lastError?: Record<string, any>;
  };
  updatedDate?: number;
  url: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ configuration?: Record<string, any>; events?: string[]; excludeBody?: boolean; filters?: Record<string, any>; name: string; sslVerificationRequired?: boolean; url: string; }-
parameters.configuration?Record<string, any>-
parameters.events?string[]The events to deliver, e.g. jira:issue_created.
parameters.excludeBody?booleanDeliver the event without its body.
parameters.filters?Record<string, any>Narrows what is delivered, e.g. { "issue-related-events-section": jql }.
parameters.name?string-
parameters.sslVerificationRequired?boolean-
parameters.url?stringWhere Jira posts the event.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; active?: boolean; configuration?: Record<string, any>; createdDate?: number; events?: string[]; id: number; name: string; scopeType?: string; sslVerificationRequired?: boolean; statistics?: { [key: string]: unknown; counts?: { [key: string]: unknown; errors?: number; failures?: number; successes?: number; window?: { [key: ...]: ...; duration?: ...; start?: ...; }; }; lastError?: Record<string, any>; }; updatedDate?: number; url: string; }>

webhooks.deleteWebhook ​

ts
deleteWebhook: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ webhookId: number; }-
parameters.webhookIdnumberThe id of the webhook.
options?RequestOptions-
Returns ​

Promise<void>

webhooks.getLatestWebhookInvocation ​

ts
getLatestWebhookInvocation: (parameters, options?) => Promise<unknown>;
Parameters ​
ParameterTypeDescription
parameters{ webhookId: number; }-
parameters.webhookIdnumberThe id of the webhook.
options?RequestOptions-
Returns ​

Promise<unknown>

webhooks.getWebhook ​

ts
getWebhook: (parameters, options?) => Promise<{
[key: string]: unknown;
  active?: boolean;
  configuration?: Record<string, any>;
  createdDate?: number;
  events?: string[];
  id: number;
  name: string;
  scopeType?: string;
  sslVerificationRequired?: boolean;
  statistics?: {
   [key: string]: unknown;
     counts?: {
      [key: string]: unknown;
        errors?: number;
        failures?: number;
        successes?: number;
        window?: {
         [key: ...]: ...;
           duration?: ...;
           start?: ...;
        };
     };
     lastError?: Record<string, any>;
  };
  updatedDate?: number;
  url: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ webhookId: number; }-
parameters.webhookIdnumberThe id of the webhook.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; active?: boolean; configuration?: Record<string, any>; createdDate?: number; events?: string[]; id: number; name: string; scopeType?: string; sslVerificationRequired?: boolean; statistics?: { [key: string]: unknown; counts?: { [key: string]: unknown; errors?: number; failures?: number; successes?: number; window?: { [key: ...]: ...; duration?: ...; start?: ...; }; }; lastError?: Record<string, any>; }; updatedDate?: number; url: string; }>

webhooks.getWebhooks ​

ts
getWebhooks: (parameters?, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters?{ event?: string; limit?: number; start?: number; statistics?: boolean; }-
parameters.event?stringOnly webhooks delivering this event.
parameters.limit?number-
parameters.start?number-
parameters.statistics?booleanInclude delivery statistics with each webhook.
options?RequestOptions-
Returns ​

Promise<object[]>

webhooks.getWebhookStatistics ​

ts
getWebhookStatistics: (parameters, options?) => Promise<{
[key: string]: unknown;
  counts?: {
   [key: string]: unknown;
     errors?: number;
     failures?: number;
     successes?: number;
     window?: {
      [key: string]: unknown;
        duration?: number;
        start?: number;
     };
  };
  lastError?: Record<string, any>;
}>;
Parameters ​
ParameterTypeDescription
parameters{ webhookId: number; }-
parameters.webhookIdnumberThe id of the webhook.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; counts?: { [key: string]: unknown; errors?: number; failures?: number; successes?: number; window?: { [key: string]: unknown; duration?: number; start?: number; }; }; lastError?: Record<string, any>; }>

webhooks.getWebhookStatisticsSummary ​

ts
getWebhookStatisticsSummary: (parameters, options?) => Promise<Record<string, {
[key: string]: unknown;
  counts?: {
   [key: string]: unknown;
     errors?: number;
     failures?: number;
     successes?: number;
     window?: {
      [key: string]: unknown;
        duration?: ... | ...;
        start?: ... | ...;
     };
  };
  lastError?: Record<string, any>;
}>>;
Parameters ​
ParameterTypeDescription
parameters{ webhookId: number; }-
parameters.webhookIdnumberThe id of the webhook.
options?RequestOptions-
Returns ​

Promise<Record<string, { [key: string]: unknown; counts?: { [key: string]: unknown; errors?: number; failures?: number; successes?: number; window?: { [key: string]: unknown; duration?: ... | ...; start?: ... | ...; }; }; lastError?: Record<string, any>; }>>

webhooks.getWebhookTransitions ​

ts
getWebhookTransitions: (parameters, options?) => Promise<unknown>;
Parameters ​
ParameterTypeDescription
parameters{ webhookId: number; }-
parameters.webhookIdnumberThe id of the webhook.
options?RequestOptions-
Returns ​

Promise<unknown>

webhooks.updateWebhook ​

ts
updateWebhook: (parameters, options?) => Promise<{
[key: string]: unknown;
  active?: boolean;
  configuration?: Record<string, any>;
  createdDate?: number;
  events?: string[];
  id: number;
  name: string;
  scopeType?: string;
  sslVerificationRequired?: boolean;
  statistics?: {
   [key: string]: unknown;
     counts?: {
      [key: string]: unknown;
        errors?: number;
        failures?: number;
        successes?: number;
        window?: {
         [key: ...]: ...;
           duration?: ...;
           start?: ...;
        };
     };
     lastError?: Record<string, any>;
  };
  updatedDate?: number;
  url: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ configuration?: Record<string, any>; events?: string[]; excludeBody?: boolean; filters?: Record<string, any>; name: string; sslVerificationRequired?: boolean; url: string; webhookId: number; }-
parameters.configuration?Record<string, any>-
parameters.events?string[]The events to deliver, e.g. jira:issue_created.
parameters.excludeBody?booleanDeliver the event without its body.
parameters.filters?Record<string, any>Narrows what is delivered, e.g. { "issue-related-events-section": jql }.
parameters.name?string-
parameters.sslVerificationRequired?boolean-
parameters.url?stringWhere Jira posts the event.
parameters.webhookId?numberThe id of the webhook.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; active?: boolean; configuration?: Record<string, any>; createdDate?: number; events?: string[]; id: number; name: string; scopeType?: string; sslVerificationRequired?: boolean; statistics?: { [key: string]: unknown; counts?: { [key: string]: unknown; errors?: number; failures?: number; successes?: number; window?: { [key: ...]: ...; duration?: ...; start?: ...; }; }; lastError?: Record<string, any>; }; updatedDate?: number; url: string; }>

websudo ​

ts
websudo: object;

websudo.release ​

ts
release: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ body?: string; }
parameters.body?string
options?RequestOptions
Returns ​

Promise<void>

workflows ​

ts
workflows: object;

workflows.getAllWorkflows ​

ts
getAllWorkflows: (parameters?, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters?{ workflowName?: string; }-
parameters.workflowName?stringAn optional String containing workflow name. If not passed then all workflows are returned
options?RequestOptions-
Returns ​

Promise<object[]>

workflowSchemes ​

ts
workflowSchemes: object;

workflowSchemes.createDraftForParent ​

ts
createDraftForParent: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; }-
parameters.idnumberThe id of the parent scheme.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.createScheme ​

ts
createScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterType
parameters{ defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { active?: boolean; applicationRoles?: { callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }
parameters.defaultWorkflow?string
parameters.description?string
parameters.draft?boolean
parameters.id?number
parameters.issueTypeMappings?Record<string, string>
parameters.issueTypes?Record<string, { avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>
parameters.lastModified?string
parameters.lastModifiedUser?{ active?: boolean; applicationRoles?: { callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }
parameters.lastModifiedUser.active?boolean
parameters.lastModifiedUser.applicationRoles?{ callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }
parameters.lastModifiedUser.applicationRoles.callback?Record<string, never>
parameters.lastModifiedUser.applicationRoles.maxResults?number
parameters.lastModifiedUser.applicationRoles.pagingCallback?Record<string, never>
parameters.lastModifiedUser.applicationRoles.size?number
parameters.lastModifiedUser.avatarUrls?Record<string, string>
parameters.lastModifiedUser.deleted?boolean
parameters.lastModifiedUser.displayName?string
parameters.lastModifiedUser.emailAddress?string
parameters.lastModifiedUser.expand?string
parameters.lastModifiedUser.groups?{ callback?: Record<string, never>; maxResults?: number; pagingCallback?: Record<string, never>; size?: number; }
parameters.lastModifiedUser.groups.callback?Record<string, never>
parameters.lastModifiedUser.groups.maxResults?number
parameters.lastModifiedUser.groups.pagingCallback?Record<string, never>
parameters.lastModifiedUser.groups.size?number
parameters.lastModifiedUser.key?string
parameters.lastModifiedUser.lastLoginTime?string
parameters.lastModifiedUser.locale?string
parameters.lastModifiedUser.name?string
parameters.lastModifiedUser.self?string
parameters.lastModifiedUser.timeZone?string
parameters.name?string
parameters.originalDefaultWorkflow?string
parameters.originalIssueTypeMappings?Record<string, string>
parameters.self?string
parameters.updateDraftIfNeeded?boolean
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.deleteDefault ​

ts
deleteDefault: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; updateDraftIfNeeded?: boolean; }-
parameters.idnumberThe id of the scheme.
parameters.updateDraftIfNeeded?booleanWhen true will create and return a draft when the workflow scheme cannot be edited (e.g. when it is being used by a project).
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.deleteDraftById ​

ts
deleteDraftById: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; }-
parameters.idnumberThe id of the parent scheme.
options?RequestOptions-
Returns ​

Promise<void>

workflowSchemes.deleteDraftDefault ​

ts
deleteDraftDefault: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; }-
parameters.idnumberThe id of the parent scheme.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.deleteDraftIssueType ​

ts
deleteDraftIssueType: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; issueType: string; }-
parameters.idnumberThe parent of the draft scheme.
parameters.issueType?stringThe issue type to remove.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.deleteDraftWorkflowMapping ​

ts
deleteDraftWorkflowMapping: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; workflowName?: string; }-
parameters.idnumberThe id of the parent scheme.
parameters.workflowName?stringThe name of the workflow to delete.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.deleteScheme ​

ts
deleteScheme: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; }-
parameters.idnumberThe id of the scheme.
options?RequestOptions-
Returns ​

Promise<void>

workflowSchemes.deleteWorkflowMapping ​

ts
deleteWorkflowMapping: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; updateDraftIfNeeded?: boolean; workflowName?: string; }-
parameters.idnumberThe id of the scheme.
parameters.updateDraftIfNeeded?booleanFlag to indicate if a draft should be created if necessary to delete the workflow from the scheme.
parameters.workflowName?stringThe name of the workflow to delete.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.deleteWorkflowSchemeIssueType ​

ts
deleteWorkflowSchemeIssueType: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; issueType: string; updateDraftIfNeeded?: boolean; }-
parameters.idnumberThe id of the scheme.
parameters.issueType?stringThe issue type to remove.
parameters.updateDraftIfNeeded?booleanWhen true will create and return a draft when the workflow scheme cannot be edited (e.g. when it is being used by a project).
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.getById ​

ts
getById: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; returnDraftIfExists?: boolean; }-
parameters.idnumberThe id of the scheme.
parameters.returnDraftIfExists?booleanWhen true indicates that a scheme's draft, if it exists, should be queried instead of the scheme itself.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.getDefault ​

ts
getDefault: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; returnDraftIfExists?: boolean; }-
parameters.idnumberThe id of the scheme.
parameters.returnDraftIfExists?booleanWhen true indicates that a scheme's draft, if it exists, should be queried instead of the scheme itself.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.getDraftById ​

ts
getDraftById: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; }-
parameters.idnumberThe id of the parent scheme.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.getDraftDefault ​

ts
getDraftDefault: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; }-
parameters.idnumberThe id of the parent scheme.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.getDraftIssueType ​

ts
getDraftIssueType: (parameters, options?) => Promise<{
[key: string]: unknown;
  issueType?: string;
  updateDraftIfNeeded?: boolean;
  workflow?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; issueType: string; }-
parameters.idnumberThe id of the parent scheme.
parameters.issueType?stringThe issue type to query.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; issueType?: string; updateDraftIfNeeded?: boolean; workflow?: string; }>

workflowSchemes.getDraftWorkflow ​

ts
getDraftWorkflow: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; workflowName?: string; }-
parameters.idnumberThe id of the parent scheme.
parameters.workflowName?stringThe workflow mapping to return. Null can be passed to return all mappings. Must be a valid workflow name.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.getWorkflow ​

ts
getWorkflow: (parameters, options?) => Promise<
  | {
[key: string]: unknown;
  defaultMapping?: boolean;
  issueTypes?: string[];
  updateDraftIfNeeded?: boolean;
  workflow?: string;
}
| object[]>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; returnDraftIfExists?: boolean; workflowName?: string; }-
parameters.idnumberThe id of the scheme.
parameters.returnDraftIfExists?booleanWhen true indicates that a scheme's draft, if it exists, should be queried instead of the scheme itself.
parameters.workflowName?stringThe workflow mapping to return. Null can be passed to return all mappings. Must be a valid workflow name.
options?RequestOptions-
Returns ​

Promise< | { [key: string]: unknown; defaultMapping?: boolean; issueTypes?: string[]; updateDraftIfNeeded?: boolean; workflow?: string; } | object[]>

workflowSchemes.getWorkflowSchemeIssueType ​

ts
getWorkflowSchemeIssueType: (parameters, options?) => Promise<{
[key: string]: unknown;
  issueType?: string;
  updateDraftIfNeeded?: boolean;
  workflow?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; issueType: string; returnDraftIfExists?: boolean; }-
parameters.idnumberThe id of the scheme.
parameters.issueType?stringThe issue type to query.
parameters.returnDraftIfExists?booleanWhen true indicates that a scheme's draft, if it exists, should be queried instead of the scheme itself.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; issueType?: string; updateDraftIfNeeded?: boolean; workflow?: string; }>

workflowSchemes.setDraftIssueType ​

ts
setDraftIssueType: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ body: { issueType?: string; updateDraftIfNeeded?: boolean; workflow?: string; }; id: number; issueType: string; }-
parameters.body{ issueType?: string; updateDraftIfNeeded?: boolean; workflow?: string; }-
parameters.body.issueType?string-
parameters.body.updateDraftIfNeeded?boolean-
parameters.body.workflow?string-
parameters.id?numberThe id of the parent scheme.
parameters.issueType?stringThe issue type being set.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.setIssueType ​

ts
setIssueType: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ body: { issueType?: string; updateDraftIfNeeded?: boolean; workflow?: string; }; id: number; issueType: string; }-
parameters.body{ issueType?: string; updateDraftIfNeeded?: boolean; workflow?: string; }-
parameters.body.issueType?string-
parameters.body.updateDraftIfNeeded?boolean-
parameters.body.workflow?string-
parameters.id?numberThe id of the scheme.
parameters.issueType?stringThe issue type being set.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.updateDefault ​

ts
updateDefault: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; updateDraftIfNeeded?: boolean; workflow?: string; }-
parameters.idnumberThe id of the scheme.
parameters.updateDraftIfNeeded?boolean-
parameters.workflow?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.updateDraft ​

ts
updateDraft: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ body: { defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { active?: boolean; applicationRoles?: { callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }; id: number; }-
parameters.body{ defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { active?: boolean; applicationRoles?: { callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }-
parameters.body.defaultWorkflow?string-
parameters.body.description?string-
parameters.body.draft?boolean-
parameters.body.id?number-
parameters.body.issueTypeMappings?Record<string, string>-
parameters.body.issueTypes?Record<string, { avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>-
parameters.body.lastModified?string-
parameters.body.lastModifiedUser?{ active?: boolean; applicationRoles?: { callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }-
parameters.body.lastModifiedUser.active?boolean-
parameters.body.lastModifiedUser.applicationRoles?{ callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }-
parameters.body.lastModifiedUser.applicationRoles.callback?Record<..., ...>-
parameters.body.lastModifiedUser.applicationRoles.maxResults?number-
parameters.body.lastModifiedUser.applicationRoles.pagingCallback?Record<..., ...>-
parameters.body.lastModifiedUser.applicationRoles.size?number-
parameters.body.lastModifiedUser.avatarUrls?Record<string, string>-
parameters.body.lastModifiedUser.deleted?boolean-
parameters.body.lastModifiedUser.displayName?string-
parameters.body.lastModifiedUser.emailAddress?string-
parameters.body.lastModifiedUser.expand?string-
parameters.body.lastModifiedUser.groups?{ callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }-
parameters.body.lastModifiedUser.groups.callback?Record<..., ...>-
parameters.body.lastModifiedUser.groups.maxResults?number-
parameters.body.lastModifiedUser.groups.pagingCallback?Record<..., ...>-
parameters.body.lastModifiedUser.groups.size?number-
parameters.body.lastModifiedUser.key?string-
parameters.body.lastModifiedUser.lastLoginTime?string-
parameters.body.lastModifiedUser.locale?string-
parameters.body.lastModifiedUser.name?string-
parameters.body.lastModifiedUser.self?string-
parameters.body.lastModifiedUser.timeZone?string-
parameters.body.name?string-
parameters.body.originalDefaultWorkflow?string-
parameters.body.originalIssueTypeMappings?Record<string, string>-
parameters.body.self?string-
parameters.body.updateDraftIfNeeded?boolean-
parameters.id?numberThe id of the parent scheme.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.updateDraftDefault ​

ts
updateDraftDefault: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: number; updateDraftIfNeeded?: boolean; workflow?: string; }-
parameters.idnumberThe id of the parent scheme.
parameters.updateDraftIfNeeded?boolean-
parameters.workflow?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.updateDraftWorkflowMapping ​

ts
updateDraftWorkflowMapping: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ defaultMapping?: boolean; id: number; issueTypes?: string[]; updateDraftIfNeeded?: boolean; workflow?: string; workflowName?: string; }-
parameters.defaultMapping?boolean-
parameters.id?numberThe id of the parent scheme.
parameters.issueTypes?string[]-
parameters.updateDraftIfNeeded?boolean-
parameters.workflow?string-
parameters.workflowName?stringThe name of the workflow mapping to update.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.updateWorkflowMapping ​

ts
updateWorkflowMapping: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ defaultMapping?: boolean; id: number; issueTypes?: string[]; updateDraftIfNeeded?: boolean; workflow?: string; workflowName?: string; }-
parameters.defaultMapping?boolean-
parameters.id?numberThe id of the scheme.
parameters.issueTypes?string[]-
parameters.updateDraftIfNeeded?boolean-
parameters.workflow?string-
parameters.workflowName?stringThe name of the workflow mapping to update.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowSchemes.updateWorkflowScheme ​

ts
updateWorkflowScheme: (parameters, options?) => Promise<{
[key: string]: unknown;
  defaultWorkflow?: string;
  description?: string;
  draft?: boolean;
  id?: number;
  issueTypeMappings?: Record<string, string>;
  issueTypes?: Record<string, {
   [key: string]: unknown;
     avatarId?: number;
     description?: string;
     iconUrl?: string;
     id?: string;
     name?: string;
     self?: string;
     subtask?: boolean;
  }>;
  lastModified?: string;
  lastModifiedUser?: {
   [key: string]: unknown;
     active?: boolean;
     applicationRoles?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     avatarUrls?: Record<string, string>;
     deleted?: boolean;
     displayName?: string;
     emailAddress?: string;
     expand?: string;
     groups?: {
      [key: string]: unknown;
        callback?: {
         [key: ...]: ...;
        };
        maxResults?: number;
        pagingCallback?: {
         [key: ...]: ...;
        };
        size?: number;
     };
     key?: string;
     lastLoginTime?: string;
     locale?: string;
     name?: string;
     self?: string;
     timeZone?: string;
  };
  name?: string;
  originalDefaultWorkflow?: string;
  originalIssueTypeMappings?: Record<string, string>;
  self?: string;
  updateDraftIfNeeded?: boolean;
}>;
Parameters ​
ParameterTypeDescription
parameters{ body: { defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { active?: boolean; applicationRoles?: { callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }; id: number; }-
parameters.body{ defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { active?: boolean; applicationRoles?: { callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }-
parameters.body.defaultWorkflow?string-
parameters.body.description?string-
parameters.body.draft?boolean-
parameters.body.id?number-
parameters.body.issueTypeMappings?Record<string, string>-
parameters.body.issueTypes?Record<string, { avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>-
parameters.body.lastModified?string-
parameters.body.lastModifiedUser?{ active?: boolean; applicationRoles?: { callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }-
parameters.body.lastModifiedUser.active?boolean-
parameters.body.lastModifiedUser.applicationRoles?{ callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }-
parameters.body.lastModifiedUser.applicationRoles.callback?Record<..., ...>-
parameters.body.lastModifiedUser.applicationRoles.maxResults?number-
parameters.body.lastModifiedUser.applicationRoles.pagingCallback?Record<..., ...>-
parameters.body.lastModifiedUser.applicationRoles.size?number-
parameters.body.lastModifiedUser.avatarUrls?Record<string, string>-
parameters.body.lastModifiedUser.deleted?boolean-
parameters.body.lastModifiedUser.displayName?string-
parameters.body.lastModifiedUser.emailAddress?string-
parameters.body.lastModifiedUser.expand?string-
parameters.body.lastModifiedUser.groups?{ callback?: Record<..., ...>; maxResults?: number; pagingCallback?: Record<..., ...>; size?: number; }-
parameters.body.lastModifiedUser.groups.callback?Record<..., ...>-
parameters.body.lastModifiedUser.groups.maxResults?number-
parameters.body.lastModifiedUser.groups.pagingCallback?Record<..., ...>-
parameters.body.lastModifiedUser.groups.size?number-
parameters.body.lastModifiedUser.key?string-
parameters.body.lastModifiedUser.lastLoginTime?string-
parameters.body.lastModifiedUser.locale?string-
parameters.body.lastModifiedUser.name?string-
parameters.body.lastModifiedUser.self?string-
parameters.body.lastModifiedUser.timeZone?string-
parameters.body.name?string-
parameters.body.originalDefaultWorkflow?string-
parameters.body.originalIssueTypeMappings?Record<string, string>-
parameters.body.self?string-
parameters.body.updateDraftIfNeeded?boolean-
parameters.id?numberThe id of the scheme.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; defaultWorkflow?: string; description?: string; draft?: boolean; id?: number; issueTypeMappings?: Record<string, string>; issueTypes?: Record<string, { [key: string]: unknown; avatarId?: number; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }>; lastModified?: string; lastModifiedUser?: { [key: string]: unknown; active?: boolean; applicationRoles?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; avatarUrls?: Record<string, string>; deleted?: boolean; displayName?: string; emailAddress?: string; expand?: string; groups?: { [key: string]: unknown; callback?: { [key: ...]: ...; }; maxResults?: number; pagingCallback?: { [key: ...]: ...; }; size?: number; }; key?: string; lastLoginTime?: string; locale?: string; name?: string; self?: string; timeZone?: string; }; name?: string; originalDefaultWorkflow?: string; originalIssueTypeMappings?: Record<string, string>; self?: string; updateDraftIfNeeded?: boolean; }>

workflowStatusCategories ​

ts
workflowStatusCategories: object;

workflowStatusCategories.getStatusCategories ​

ts
getStatusCategories: (parameters?, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters?{ request?: string; uriInfo?: string; }-
parameters.request?stringA Request
parameters.uriInfo?stringA UriInfo
options?RequestOptions-
Returns ​

Promise<object[]>

workflowStatusCategories.getStatusCategory ​

ts
getStatusCategory: (parameters, options?) => Promise<{
[key: string]: unknown;
  colorName?: string;
  id?: number;
  key?: string;
  name?: string;
  self?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ idOrKey: string; }-
parameters.idOrKeystringA numeric StatusCategory id or a status category key
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; colorName?: string; id?: number; key?: string; name?: string; self?: string; }>

workflowStatuses ​

ts
workflowStatuses: object;

workflowStatuses.getPaginatedStatuses ​

ts
getPaginatedStatuses: (parameters?, options?) => Promise<{
[key: string]: unknown;
  isLast: boolean;
  maxResults: number;
  startAt: number;
  total?: number;
  values: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ issueTypeIds?: string[]; maxResults?: number; projectIds?: number[]; query?: string; startAt?: number; }-
parameters.issueTypeIds?string[]The list of issue type ids to filter statuses.
parameters.maxResults?numberThe maximum number of statuses to return.
parameters.projectIds?number[]The list of project ids to filter statuses.
parameters.query?stringThe string that status names will be matched with.
parameters.startAt?numberThe index of the first status to return.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast: boolean; maxResults: number; startAt: number; total?: number; values: object[]; }>

workflowStatuses.getStatus ​

ts
getStatus: (parameters, options?) => Promise<{
[key: string]: unknown;
  description?: string;
  iconUrl?: string;
  id?: string;
  name?: string;
  self?: string;
  statusCategory?: {
   [key: string]: unknown;
     colorName?: string;
     id?: number;
     key?: string;
     name?: string;
     self?: string;
  };
  statusColor?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ idOrName: string; }-
parameters.idOrNamestringA numeric Status id or a status name
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; description?: string; iconUrl?: string; id?: string; name?: string; self?: string; statusCategory?: { [key: string]: unknown; colorName?: string; id?: number; key?: string; name?: string; self?: string; }; statusColor?: string; }>

workflowStatuses.getStatuses ​

ts
getStatuses: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>