This resource represents planning settings for plan-only and Atlassian teams in a plan. Use it to get, create, update and delete planning settings.

Hierarchy

  • CommonHttpService
    • TeamsInPlanService

Constructors

  • Internal

    Create a new instance of the service.

    Parameters

    • getClientInstance: (() => CommonHttpClient)
        • (): CommonHttpClient
        • Returns CommonHttpClient

    Returns TeamsInPlanService

Methods

  • Updates any of the following planning settings of an Atlassian team in a plan using JSON Patch.

    • planningStyle
    • issueSourceId
    • sprintLength
    • capacity

    Permissions required: Administer Jira global permission.

    Note that "add" operations do not respect array indexes in target locations. Call the "Get Atlassian team in plan" endpoint to find out the order of array elements.

    Parameters

    • params: {
          atlassianTeamId: string;
          planId: number;
          requestBody: {
              [key: string]: unknown;
          };
      }
      • atlassianTeamId: string

        The ID of the Atlassian team.

      • planId: number

        The ID of the plan.

      • requestBody: {
            [key: string]: unknown;
        }
        [
        {
        "op": "replace",
        "path": "/planningStyle",
        "value": "Kanban"
        }
        ]
        • [key: string]: unknown

    Returns Promise<void>

    Returned if the request is successful.

  • Updates any of the following planning settings of a plan-only team using JSON Patch.

    • name
    • planningStyle
    • issueSourceId
    • sprintLength
    • capacity
    • memberAccountIds

    Permissions required: Administer Jira global permission.

    Note that "add" operations do not respect array indexes in target locations. Call the "Get plan-only team" endpoint to find out the order of array elements.

    Parameters

    • params: {
          planId: number;
          planOnlyTeamId: number;
          requestBody: {
              [key: string]: unknown;
          };
      }
      • planId: number

        The ID of the plan.

      • planOnlyTeamId: number

        The ID of the plan-only team.

      • requestBody: {
            [key: string]: unknown;
        }
        [
        {
        "op": "replace",
        "path": "/planningStyle",
        "value": "Kanban"
        }
        ]
        • [key: string]: unknown

    Returns Promise<void>

    Returned if the request is successful.

  • Method to initialize the class. Normally used to set up validation rules.

    Returns void