Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

This function returns the user key for a given user.


Code Block
languagebash
titleSyntax
linenumberstrue
getUserKey(userName) #Output: Text


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
getUserKey(%{system.currentUser})


This example returns the user key of the current user, e.g.:
JIRAUSER43863



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
userName

Status
subtletrue
titletext

Text containing a valid user name.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext



Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_getuserkey" and space = currentSpace()


Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Returns the user key of a given user.

Output

Status
subtletrue
titletext
 

Available since

Status
subtletrue
colourBlue
title3.0.1

Label