jira.js
    Preparing search index...

    Function getFeaturesForProject

    • Returns the list of features for a project.

      Parameters

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

          The ID or (case-sensitive) key of the project.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              features?: {
                  feature?: string;
                  imageUri?: string;
                  localisedDescription?: string;
                  localisedName?: string;
                  prerequisites?: string[];
                  projectId?: number;
                  state?: string & {}
                  | "ENABLED"
                  | "DISABLED"
                  | "COMING_SOON";
                  toggleLocked?: boolean;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >