Versions Compared

Key

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


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


Syntax

userInGroup(group, user)

...

Parameter name

Type

Required

Description

group

string / string[]

Yes

Name(s) of the group(s) the user should belong to.

user

string

Yes

Name or key of the user that needs to be verified.

Note

On the server version, it searches by the user key first and if there is no result - by the user name as well. On the cloud version, the search is done by the user key only.


Return type

boolean (true/false)

...