Skip to end of metadata
Go to start of metadata

Cprime Apps has been rebranded as Anova Apps. Please note the only effect is the company name - all of our products’ names, logos, functionalities, support, etc. is exactly the same. The new location to our documentation space is https://anovaapps.atlassian.net.

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