jira.js
    Preparing search index...

    Function createIssueType

    • Creates an issue type from a JSON representation and adds the issue newly created issue type to the default issue type scheme.

      Parameters

      • client: Client
      • parameters: {
            description?: string;
            name?: string;
            type?: "standard" | string & {} | "subtask";
        }
      • Optionaloptions: RequestOptions

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