...
...
Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=getUserDirectoryName+-+15485535 |
---|
width | auto |
---|
|
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | getUserDirectoryName(user) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns the directory name the user belongs to. |
Returns the directory name the user belongs to.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
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) |
---|
showLabels | false |
---|
max | 15025 |
---|
showSpace | false |
---|
cql | label = "jira_user_routine" and space = currentSpace ( ) |
---|
labels | jiraarray_user_routineroutines |
---|
|