jira.js
    Preparing search index...

    Function getFeatureFlagById

    • Retrieve the currently stored Feature Flag data for the given ID.

      The result will be what is currently stored, ignoring any pending updates or deletes.

      Parameters

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

          The ID of the Feature Flag to fetch.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              associations?: {
                  associationType: string & {}
                  | "issueKeys"
                  | "issueIdOrKeys";
                  values: string[];
                  [key: string]: unknown;
              }[];
              details: {
                  environment: {
                      name: string;
                      type?: | string & {}
                      | "development"
                      | "testing"
                      | "staging"
                      | "production";
                      [key: string]: unknown;
                  };
                  lastUpdated: Date;
                  status: {
                      defaultValue?: string;
                      enabled: boolean;
                      rollout?: {
                          percentage?: number;
                          rules?: number;
                          text?: string;
                          [key: string]: unknown;
                      };
                      [key: string]: unknown;
                  };
                  url: string;
                  [key: string]: unknown;
              }[];
              displayName?: string;
              id: string;
              key: string;
              schemaVersion?: string & {}
              | "1.0";
              summary: {
                  lastUpdated: Date;
                  status: {
                      defaultValue?: string;
                      enabled: boolean;
                      rollout?: {
                          percentage?: number;
                          rules?: number;
                          text?: string;
                          [key: string]: unknown;
                      };
                      [key: string]: unknown;
                  };
                  url?: string;
                  [key: string]: unknown;
              };
              updateSequenceId: number;
              [key: string]: unknown;
          },
      >