Versions Compared

Key

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


Warning

The availability of the users personal data may be impacted by the recent changes by Atlassian in order to meet GDPR compliance. See the following for more information:


Info

Availability

  • This routine is available starting with katl-commons 1.0.
  • This routine is available for Jira server and cloud deployment options.


Syntax for the server version

userHasAccessToComment(user, comment_id)

Syntax for the cloud version

userHasAccessToComment(issue, user, comment_id)


Description

Excerpt

Verifies if a comment is visible for an user.

Parameters for the server version

Parameter nameTypeRequiredDescription
userStringYesUsername or userkey of the user.
comment_idNumberYesId of the comment.


Note

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

...