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

addGroupToProjectRole(group, project, role)

Package

Alias

addGroupToProjectRole

...

Pkg Usage

Description

Excerpt
hiddentrue
Adds a single group to a project role if the group is not already in that role.

Adds a single group to a project role if the group is not already 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

boolean Boolean

Returns "true" if operation succeeded.

Example

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

...

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