Versions Compared

Key

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

...

titleAvailability

...

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=getUserDirectoryName+-+15485535
widthauto

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getUserDirectoryName(user)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns the directory name the user belongs to.

Returns the directory name the user belongs to.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

user

String

Yes

User name or key.

Return

...

Type

stringString

Returns the directory name.

Example

Example 1

Code Block
if(getUserDirectoryName(currentUser()) == "JIRA Internal Directory") {

	doSomethingRelatedToInternalDirectoryUsers();
}

...

Filter by label (Content by label)
showLabelsfalse
max15025
showSpacefalse
cqllabel = "jira_user_routine" and space = currentSpace ( )
labelsjiraarray_user_routineroutines