Versions Compared

Key

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


Page properties
hiddentrue



Status
Tech review

Status
colourYellow
titletodoReady for review

Style guide

Status
colourGreenYellow
titledoneReady for review

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



Page properties
hiddentrue


Short description

Returns the text list of group names of the user with name userName belongs all groups users belong to.

Output

Status
subtletrue
titletext list

Available since

Status
subtletrue
colourBlue
title2.1.32




UI Text Box
sizemedium
typeinfo

This function returns the text list of group names of the user with name userName a user belongs to.

The parameter userName Multiple users can also be a specified as a comma-separated list of user names, group names and project role names, returning the a list of project roles for those users represented by input argumentof groups, any of the returned users is a member of.


Code Block
languagebash
titlesyntax
linenumberstrue
groupsUserBelongsTo(text userNameusers) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
groupsUserBelongsTo("b.smith")


This example returns all groups b.smith belongs to, e.g.:
jira-developers, jira-administrators



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxxusers

Status
subtletrue
titledata typetext

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



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list