I have some service desk issues with the label set to 'Development'. My goal is to only allow users in the development group to see an issue with the label of 'Development'. I was trying to add ' currentUser() IN memberOf( development_group )' to the JQL for all open tickets. I have not been successful so far.
currentUser() can only be used on the right side if equal comparison (=).
membersOf() can only be used on the right side of IN.
So you can try something like assignee in membersOf("myDepartment").
Never the less you wrote "My goal is to only allow users in the development group to see an issue". This is more a thing for permissions and not for JQL. Everyone can write their own filter. Better use a "permission scheme" on project level or an "issue security scheme" on issue level.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A good way to visualize how filters works:
Think of it like a database and you're basically querying the "issues" table. Do you think, this table has a "currentUser" column? No. Does it have membersOf column? No. Does it have assignee column? Yes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.