Discussion:
create a filter which list issues from a group based on user logged in.
f***@atlassian.com
2011-07-19 15:58:43 UTC
Permalink
Hi,

In JIRA 4.2.2 there is a Query where you can specify how your search for issues should be viewed.

I am able to create a filter with assignee in membersOf(groupname), but then I hardcode the name of the groupname and it works fine for only one group.
What I need is to create a filter based on the current user which is logged in and show the list based on the groups this user belongs to, and issues the group members are assigned.
I have tried this, but it takes issues from all assignee in the group and not only the one the current user is belonging to.

assignee in membersof(“groupname1”) or assignee in membersof("groupname2") or assignee in membersof("groupname3")

Will appreciate if someone got a solution. Thank you.
--
Post by ems_suisse - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=55307
f***@atlassian.com
2011-07-19 16:13:34 UTC
Permalink
There's no way to do this, although you could code your own JQL function to do it.

You'd need to think carefully though. The problem to avoid is that any user you choose is likely to be in "jira users" (or whatever group you have chosen to indicate "someone who can log in"), and so a filter for something like "all assignees who are in the same groups of this user" is likely to end up including the entire active user base.
--
Post by broughn2 - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=55307
f***@atlassian.com
2011-07-20 08:14:01 UTC
Permalink
Hi,

thanks for your answer.

Ok, so we will choose to create a dashboard for each group with the required filter result gadget and share this dashboard. The drawback is that each user needs to find the actual dashboard and add it, but it should works fine.
--
Post by ems_suisse - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=55307
Loading...