Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

usersInGroup() which string expected?

DasJo August 9, 2018

Hello,
I try to copy the users from a group into a field with the Admin Toolbox for Jira.
For this I use usersInGroup(string groupName) in the function "parsed text to field". When I add a group name as described in the documentation, I get a syntax error.
With the function nextUserInGroup(string group, string queue) I can add a group name for "string group".

I think this is due to the expected strings group and groupName but what is expected at groupName?

Greetings

2 answers

1 accepted

0 votes
Answer accepted
Jamil Rahimov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2019

@DasJo 
Please try this expression:
1.PNG

0 votes
Raynard Rhodes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 10, 2018

Did you have the comma (,) in the first userInGroup? It doesn't appear to be in the above text.

It shows userInGroup(string groupName) instead of userInGroup(string, groupName)

DasJo August 12, 2018

There is no comma (,) in the documentation.

I tried the comma anyway and it still doesn't work. According to the documentation, the different user groups can be separated by commas.  

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events