Skip to content

Function: getCreateIssueMetaIssueTypeId() ​

ts
function getCreateIssueMetaIssueTypeId(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  fields?: object[];
  maxResults?: number;
  results?: object[];
  startAt?: number;
  total?: number;
}>;

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

Returns a page of field metadata for a specified project and issuetype id. 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{ issueTypeId: string; maxResults?: number; projectIdOrKey: string; startAt?: number; }-
parameters.issueTypeIdstringThe issuetype ID.
parameters.maxResults?numberThe maximum number of items to return per page.
parameters.projectIdOrKey?stringThe ID or key of the project.
parameters.startAt?numberThe index of the first item to return in a page of results (page offset).
options?RequestOptions-

Returns ​

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