admRemoveGroup

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Availability

This routine is available starting with SIL Engine™ 4.5.6.

Syntax

admRemoveGroup(groupToRemove, swapGroup)

Alias

removeGroup(groupToRemove, swapGroup)

Description

Removes a group from Jira.

Parameters

Parameter name

Type

Required

Description

Group to removeStringYesThe group to be removed.
Swap groupStringYesThe swap group that identifies the group to change comment and worklog visibility to.

Return type

boolean

Returns "true" if operation succeeded.

Example 

admRemoveGroup("Group1","Group2");

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

Notes

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