jira.js
    Preparing search index...

    Function addOrganization

    • This method adds an organization to a service desk. If the organization ID is already associated with the service desk, no change is made and the resource returns a 204 success code.

      Permissions required: Service desk's agent.

      Parameters

      • client: Client
      • parameters: {
            body: {
                organizationId: number;
                serviceDeskId?: string;
                [key: string]: unknown;
            };
            serviceDeskId: string;
        }
        • body: { organizationId: number; serviceDeskId?: string; [key: string]: unknown }
          • organizationId: number

            List of organizations, specified by 'ID' field values, to add to or remove from the service desk.

          • OptionalserviceDeskId?: string

            Service desk Id for which, organization needs to be updated

        • serviceDeskId: string

          The ID of the service desk to which the organization will be added. This can alternatively be a project identifier.

      • Optionaloptions: RequestOptions

      Returns Promise<void>