Skip to content

Function: getCreateIssueMetaIssueTypes()

ts
function getCreateIssueMetaIssueTypes(client, parameters): Promise<{
[key: string]: unknown;
  createMetaIssueType?: object[];
  issueTypes?: object[];
  maxResults?: number;
  startAt?: number;
  total?: number;
}>;

Defined in: src/cloud/api/issues.ts:213

Returns a page of issue type metadata for a specified project. Use the information to populate the requests in Create issue and Create issues.

This operation can be accessed anonymously.

Permissions required: Create issues project permission in the requested projects.

Parameters

ParameterTypeDescription
clientClient-
parameters{ maxResults?: number; projectIdOrKey: string; startAt?: number; }-
parameters.maxResults?numberThe maximum number of items to return per page.
parameters.projectIdOrKeystringThe ID or key of the project.
parameters.startAt?numberThe index of the first item to return in a page of results (page offset).

Returns

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