Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admRemoveGroup(groupToRemove, swapGroup)

Package

adm

Alias

Pkg Usage

removeGroup(groupToRemove, swapGroup)

Description

Excerpt
hiddentrue

Removes a group from Jira.

Removes a group from Jira.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

Group to remove

String

Yes

The group to be removed.

Swap group

String

Yes

The swap group that identifies the group to change comment and worklog visibility to.

Return Type

Boolean

Returns "true" if operation succeeded.

Example

Code Block
languagejs
admRemoveGroup("Group1","Group2");

Result: "Group1" will be removed from Jira and "Group2" is used to change comment and worklog visibility to.

Note

This method will remove the group from any notifications schemes, any associated permissions, and any associated project roles. This method will also update any comments and work-logs that have visibility restrictions set to the current group such that their restrictions will be changed to the swapGroup.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "group_admin_function" and space = currentSpace ( )
labelsarray_functions