...
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 | userHasAccessToComment(userNameOrKey, commentId) | Package | | Alias | | Pkg Usage | | |
Excerpt |
---|
|
Verifies whether a comment is visible for a user. |
Verifies whether a comment is visible for a user.
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
userNameOrKey | |
...
String | Yes | User name or key of a user to check access for | commentId |
|
...
Number | Yes | Id of the comment to verify access to |
|
...
boolean Boolean (true/false)
Returns true if the specified user has access to the specified comment. Returns false otherwise.
Code Block |
---|
|
userHasAccessToComment("jdoe", 651); |
Checks if the "jdoe" user has access to the comment with id 651.
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "psuser_conf"routines" and space = currentSpace ( ) |
---|
labels | jiraarray_comment_routineroutines |
---|
|