Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/jira/src/version3/parameters/getWorkflowsPaginated.ts>GetWorkflowsPaginated

A JavaScript/TypeScript wrapper for the JIRA Cloud, Service Desk and Agile REST API
Latest
interface GetWorkflowsPaginated
import { type GetWorkflowsPaginated } from "https://deno.land/x/jira@v3.0.2/src/version3/parameters/getWorkflowsPaginated.ts";

Properties

optional
startAt: number

The index of the first item to return in a page of results (page offset).

optional
maxResults: number

The maximum number of items to return per page.

optional
workflowName: string[]

The name of a workflow to return. To include multiple workflows, provide an ampersand-separated list. For example, workflowName=name1&workflowName=name2.

optional
expand:
| "transitions"
| "transitions.rules"
| "transitions.properties"
| "statuses"
| "statuses.properties"
| "default"
| "schemes"
| "projects"
| "hasDraftWorkflow"
| "operations"
| (
| "transitions"
| "transitions.rules"
| "transitions.properties"
| "statuses"
| "statuses.properties"
| "default"
| "schemes"
| "projects"
| "hasDraftWorkflow"
| "operations"
)[]
| string
| string[]

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

  • transitions For each workflow, returns information about the transitions inside the workflow.
  • transitions.rules For each workflow transition, returns information about its rules. Transitions are included automatically if this expand is requested.
  • transitions.properties For each workflow transition, returns information about its properties. Transitions are included automatically if this expand is requested.
  • statuses For each workflow, returns information about the statuses inside the workflow.
  • statuses.properties For each workflow status, returns information about its properties. Statuses are included automatically if this expand is requested.
  • default For each workflow, returns information about whether this is the default workflow.
  • schemes For each workflow, returns information about the workflow schemes the workflow is assigned to.
  • projects For each workflow, returns information about the projects the workflow is assigned to, through workflow schemes.
  • hasDraftWorkflow For each workflow, returns information about whether the workflow has a draft version.
  • operations For each workflow, returns information about the actions that can be undertaken on the workflow.
optional
queryString: string

String used to perform a case-insensitive partial match with workflow name.

optional
orderBy:
| "name"
| "-name"
| "+name"
| "created"
| "-created"
| "+created"
| "updated"
| "+updated"
| "-updated"
| string

Order the results by a field:

  • name Sorts by workflow name.
  • created Sorts by create time.
  • updated Sorts by update time.
optional
isActive: boolean

Filters active and inactive workflows.