Background:
I have a custom field "Assignee(s)" which is a multi user picker.
The "Assignee(s)" field can contain members from both Groups 1 and 2.
Problem:
I would like to show issue statistics in the dashboard by Group 1.
My jql now is "Assignee(s)" in membersOf("Group 1")
I would like Assignee(s) to only show "Amy" | 9 | 90% for example.
However, now the issue statistics is showing both
I would like to omit any users in the "Assignee(s)" field that do not belong to Group 1 (i.e. remove Carol from the Issue Statistics Gadget).
Is this possible to configure via JQL?
It is "strictly evaluating" the JQL. You are looking in the wrong place for a "fix" to this.
JQL is not SQL, which is something people misunderstand a lot. A JQL query gives you nothing more than a list of matching issues. It really is just the search part of what you're doing. The JQL has nothing to say about the data it returns, it's a list of issues.
So, think of your "Assignee(s)" in membersOf("Group 1") as returning a list of issues, not a display of them. In your example, you're getting 11 issues on that list.
Now, entirely separately, you've decided to use a filter statistics gadget to display the results. You've told that to show you the assignee(s) field. So it is showing you all the assignee(s)s entries it finds in the list of issues that the JQL has given it.
Note that it is not reading the JQL, it is reading the list of issues the JQL gives it. The gadget has no way to know that you want to ignore some of that data.
So, the short answer is that to achieve your results, you'll need to find a gadget that can be told to suppress some of the values returned.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.