Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can you query an EMPTY user group that contains non-empty nested groups, and expect results?

Angell Tsang March 1, 2012

For example, I have a group called QA with 2 groups nested inside.

  • QA (0 users)
    • QA-Admin (2 users)
    • QA-offshore (2 users)

If I run the following query, I don't see any results:

assignee in membersOf(QA)

If I run the following query, I see results as expected:

assignee in membersOf(QA-Admin) or assignee in membersOf(QA-offshore)

1 answer

0 votes
MatthewC
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 4, 2012

It should work, we have something similar here (using Jira & Crowd). If it's not working then I suspect that there is something wrong with the setup of your QA group. Even with nested groups, they appear as flat, at least using Crowd. So QA group would appear as having 4 users (whos memberships are controlled by the QA-* groups).

Where are the groups coming from? What version of Jira/Crowd are you using? What happens when you view the QA group in the admin screen of the Jira? Does it show any users?

Angell Tsang March 4, 2012

Thanks for the response Matthew. We are using JIRA 4.4.3, and I've created the groups directly inside of JIRA admin.

Using JIRA admin, my QA group displays 0 users, but in the nested user group section, it correctly reports both chilldren user groups exist inside of QA. Each child group correctly reports the correct # of users inside.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events