Versions Compared

Key

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


Page properties
hiddentrue
Status
Tech review

Status
titletodo

Style guide

Status
titletodo

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

Page properties
hiddentrue
Short description

Rreturns true only if all users in the list, groups of the list, and in the roles of the list, are active.

Output StatussubtletruetitlebooleanAvailable since UI Text Box
sizemedium
typeinfo

This function checks if a user is active. Argument user_name can also be a comma-separated list of You can specify user names, group names or role names. In that case, the .

If you specify more users (e.g. as part of a role), this function will return true only if all users in the list, groups of the list, and in the roles of the list , are active.


Code Block
languagebash
titleSyntax
linenumberstrue
isActive(text user_name) #Output: Boolean


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
isActive(%{
00125
issue.components.leads})


This example returns true if all users who are component

leaders

leads in the current issue's project are active.



Code Block
languagebash
linenumberstrue
isActive(%{
00125} is field code for Component leaders
issue.assignee})


This example returns true if the assignee is active.



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxxuser

Status
subtletrue
titledata typetext

Text containing a valid user, group or project role nameParameter description.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titleboolean



Image AddedUse cases and examples

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


Page properties
hiddentrue
id1


Parser function cloud
Map(error)
Notes

Even though there is an active property in the json returned of an user, is not possible to access it, so is not possible to replicate its behaviour.




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

Checks whether users are active

Output

Status
subtletrue
titleboolean

Available since
Label