jira.js
    Preparing search index...

    Function listWorkflowHistory

    • Returns a list of workflow history entries for a specified workflow id.

      Note: Stored workflow data expires after 60 days. Additionally, no data from before the 30th of October 2025 is available.

      Permissions required:

      • Administer Jira global permission to access all, including project-scoped, workflows
      • At least one of the Administer projects and View (read-only) workflow project permissions to access project-scoped workflows

      Parameters

      • client: Client
      • parameters: {
            expand?:
                | string
                | string[]
                | string & {}
                | (string & {} | "includeIntermediateWorkflows")[];
            workflowId?: string;
        }
        • Optionalexpand?:
              | string
              | string[]
              | string & {}
              | (string & {} | "includeIntermediateWorkflows")[]

          Use expand to include additional information in the response. This parameter accepts a comma-separated list. Expand options include:

          • includeIntermediateWorkflows Includes intermediate workflow versions that are sometimes created during workflow updates or migrations. By default, these are omitted from the response.
        • OptionalworkflowId?: string

          The id of the workflow to read the history for.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              entries?: {
                  isIntermediate?: boolean;
                  workflowId?: string;
                  workflowVersion?: number;
                  writtenAt?: string;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >