Versions Compared

Key

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

...

Note

The look-up is first made after the userkey, then after the username.

Parameters for the cloud version

Parameter nameTypeRequiredDescription
issueStringYesThe issue key.
userStringYesThe account id of the user.
comment_idNumberYesId of the comment.

Return type

boolean (true/false)

A "true" return value means that the user can see the comment.

Example (server only)

 

Code Block
userHasAccessToComment("admin","10000");

Returns "true" if the user "admin" can see the comment with id "10000" and "false" if the user cannot see the comment.

Example (cloud only)

 

Code Block
userHasAccessToComment(key, "admin","10000");

Returns "true" if the user "admin" can see the comment with id "10000"  from the current issue and "false" if the user cannot see the comment.

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "jira_security_routine"
labelsjira_security_routine



...