Class TeamsService

Hierarchy (view full)

Constructors

Properties

availableOperations: ServiceOperation[] = ...

Lists out the available operations for the resource, calling methods not in this list will result in an error

baseUrl: string = 'https://api.app.shortcut.com/api/v3/groups'
headers: Record<string, string>
instances: Record<string, Team> = {}
teams: Record<number, Team> = {}

Methods

  • Disables the teams feature for the workspace.

    Returns Promise<boolean>

  • Enables the teams feature for the workspace.

    Returns Promise<boolean>

  • A convenience method to get a team by name instead of by ID. Search is case-sensitive.

    Parameters

    • name: string

    Returns Promise<null | Team>