getUserByEmail

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center?Ā Click hereĀ !

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:

Availability

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

Syntax

getUserByEmail(email)

Description

Gets the user by email address.

Parameters

Parameter name

Type

Required

Description

email

String

Yes

Email address.

Return type

JUser

Returns the first user found with the specified email address.

Notes

If there are more users with the same email address, the routine does not guarantee that it will always return the same user.

See also