getUserByFullName

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 4.0.0.
  • This routine is available for Jira server and cloud deployment options.

Syntax

getUserByFullName(fullName)

Cloud Syntax


getUserByFullName(displayName)

Description

Gets the user by full name.


The cloud version gets the user by the display name. It searches all the users starting with the query provided in their display name or email and returns the first user found. Because the user returned by Atlassian has the name field empty and the displayName field filled with the full name, we cannot filter the users returned only by the displayName.

Parameters

Parameter name

Type

Required

Description

fullName

String

Yes

Full name.

Cloud Parameters

Parameter name

Type

Required

Description

displayName

String

Yes

Display name.

Return type

JUser

Returns the first user found with the specified full name.

Cloud Return type

JUser

Returns the first user found with the specified display name.


See also