Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

This function checks if a user is active. You can specify user names, group names or role names.

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


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


UI Expand
titleExamples


Parser expressionDescription


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


This example returns true if all users who are component leads in the current issue's project are active.



Code Block
languagebash
linenumberstrue
isActive(%{issue.assignee})


This example returns true if the assignee is active.



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
user

Status
subtletrue
titletext

Text containing a valid user, group or project role name.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titleboolean



Use 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