Versions Compared

Key

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

This routine is available starting with katl-commons 3.0.8.

This routine is available for Jira server and cloud deployment options. 

Syntax

...

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

Syntax

removeGroupFromProjectRole(group, project, role)

Package

adm

Alias

removeGroupFromProjectRole

Pkg Usage

removeGroupFromProjectRole(group, project, role)

Description

Excerpt
hiddentrue
Removes a single group from a project role if the group is in that role.

Removes a single group from a project role if the group is in that role.

Parameters

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

Parameter name

Type

Required

Description

Group

String

Yes

Group name.

Project key

String

Yes

Key of the selected project.

Role name

String

Yes

Name of the role to add the user to.

Return

...

Type

booleanBoolean

Returns "true" if operation succeeded.

Example

Code Block
admRemoveGroupFromProjectRoleremoveGroupFromProjectRole("dev-group, "TEST", "Developers");

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "jiragroup_roleadmin_routine" and space = currentSpace ( )
labelsjiraarray_role_routineroutines