jira.js
    Preparing search index...

    Function getWorkspaces

    • Retrieve the either all Operations Workspace IDs associated with the Jira site or a specific Operations Workspace ID for the given ID.

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

      E.g. GET /workspace?workspaceId=111-222-333

      Only Connect apps that define the jiraOperationsInfoProvider module can access this resource. This resource requires the 'READ' scope for Connect apps.

      Parameters

      • client: Client
      • Optionalparameters: { workspaceId?: string }
        • OptionalworkspaceId?: string

          Optional Operations Workspace ID to retrieve a specific workspace. If omitted, all workspace IDs linked to the Jira site are returned. Example: workspaceId=111-222-333.

      • Optionaloptions: RequestOptions

      Returns Promise<{ workspaceIds: string[]; [key: string]: unknown }>