Info |
---|
|
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 |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | addGroupToProjectRole(group, project, role) | Package | adm | Alias | addGroupToProjectRole | Pkg Usage | addGroupToProjectRole(group, project, role) | |
Description
Excerpt |
---|
|
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 |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
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) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "jiragroup_roleadmin_routine" and space = currentSpace ( ) |
---|
labels | jira_role_routine |
---|
|