Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
titleAvailability

This routine is available starting with SIL Engine™ 4.5.6.

Syntax

...

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

removeGroupFromGroups(groupsToRemoveFrom, childName)

Package

adm

Alias

removeGroupFromGroups

Pkg Usage

removeGroupFromGroups(groupsToRemoveFrom, childName)

Description

Excerpt
hiddentrue
Add Remove the provided groups to group from the specified groups if it is already added.

Remove the provided group from the specified groups if

...

it is already added.

Parameters

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

Parameter name

Type

Required

Description

Groups to remove from

Array of strings

Yes

Group names that the child group should be removed from.

Child name

String

Yes

Child group to be removed from the parent groups.

Return

...

Type

booleanBoolean

Returns "true" if operation succeeded.

Examples

Example 1

Code Block
admRemoveGroupsFromGroupsremoveGroupsFromGroups("ParentGroup", "ChildGroup");

Result: The "ChildGroup" will be removed from the "ParentGroup".

Example 2

Code Block
admRemoveGroupsFromGroupsremoveGroupsFromGroups({"Group1","Group2"}, "ChildGroup");

Result: The "ChildGroup" will be removed from the "Group1" and "Group2".

...

Note

In order to allow Jira to handle nested groups you would need first to

...

enable or disable support for nested groups on each directory individually.

...

Select User Directories

...

from the JIRA administration menu,

...

edit

...

the directory and

...

select Enable Nested Groups

...

See Configuring user directories.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "jiragroup_groupadmin_routine" and space = currentSpace ( )
labelsjiraarray_group_routineroutines