jira.js
    Preparing search index...

    Function getProjectTypeByKey

    • Returns the project type with the given key. In case of anonymous checks if they can access at least one project.

      Parameters

      • client: Client
      • parameters: { projectTypeKey: string }
        • projectTypeKey: string

          The key of the project type

      • Optionaloptions: RequestOptions

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