Versions Compared

Key

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

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 !


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
titleAvailability
  • This routine is available
since
  • starting with katl-commons 2.0.7
(
  • for
JIRA
  • Jira 5.x
)
  • or katl-commons 1.1.14
(
  • for
JIRA
  • Jira 4.3.x
and
  • /4.4.x
)
  • .
  • This routine is available for Jira server and cloud deployment options.

Syntax

...

getUserProperty(user, property)

Description

...

Excerpt

Retrieves properties of users created and maintained in Jira (user properties).

...

Cloud Description

Excerpt

Retrieves properties of users only accessible through requests. This set of user properties have nothing to do with the user propertiescreated and maintained in Jira (they can't even be accessed through requests).

Parameters

Parameter name

Type

Required

Description

user

String

Yes

The username Username or userkey to get the property for.

propertyStringyesKey of the property.The key

Cloud Parameters

Parameter name

Type

Required

Description

user

String

Yes

The userkey of the user.

propertyStringyesKey of the property.

Return type

...

string

Returns the value of the specified property. If the user does not have the property, it will return an empty string.

Example

...

Code Block
return getUserProperty("testuser", "phone");

Notes

...

Note

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

Cloud Notes

Note

On cloud the look-up is made only after the userkey.

See

...

also

Filter by label (Content by label)
showLabelsfalse
max150
showSpacefalse
cqllabel = "jira_user_routine"
labelsjira_user_routine