jira.js
    Preparing search index...

    Function getAccessibleProjectTypeByKey

    • Returns a project type if it is accessible to the user.

      Permissions required: Permission to access Jira.

      Parameters

      • client: Client
      • parameters: {
            projectTypeKey:
                | string & {}
                | "software"
                | "service_desk"
                | "business"
                | "product_discovery";
        }
        • projectTypeKey: string & {} | "software" | "service_desk" | "business" | "product_discovery"

          The key of the project type.

      • Optionaloptions: RequestOptions

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