jira.js
    Preparing search index...

    Function removeGroup

    • Deletes a group.

      Permissions required: Site administration (that is, member of the site-admin strategic group).

      Parameters

      • client: Client
      • parameters: {
            groupId?: string;
            groupname?: string;
            swapGroup?: string;
            swapGroupId?: string;
        }
        • OptionalgroupId?: string

          The ID of the group. This parameter cannot be used with the groupname parameter.

        • Optionalgroupname?: string
        • OptionalswapGroup?: string

          As a group's name can change, use of swapGroupId is recommended to identify a group. The group to transfer restrictions to. Only comments and worklogs are transferred. If restrictions are not transferred, comments and worklogs are inaccessible after the deletion. This parameter cannot be used with the swapGroupId parameter.

        • OptionalswapGroupId?: string

          The ID of the group to transfer restrictions to. Only comments and worklogs are transferred. If restrictions are not transferred, comments and worklogs are inaccessible after the deletion. This parameter cannot be used with the swapGroup parameter.

      • Optionaloptions: RequestOptions

      Returns Promise<void>