It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

ERROR project = SP AND currentUser() in membersof(issueFunction in valueOf("Single Group Picker"))

ERROR project = SP AND currentUser() in membersof(issueFunction in valueOf("Single Group Picker"))

someone can write this JQL correctly?? please

3 answers

1 accepted

0 votes
Answer accepted

Hi Stefano,

The JQL must be based on the data of the issue. So you have to start like

project = SP AND SingleGroupPickerField = "Group of a user"

Getting all groups of the current user is not supported, so you have to know them beforehand.

Best regards,
Henning

how can i do? i nett to check if currentuser is in the single group in the field "Single Group Picker"

but can i check if currentUser in memberof(Customfield_SingleGroupPicker) ???

No, you can not. Maybe I could help regarding your underlying problem... Why do you need to check this?

so when current user want to do a transition appers a screen where current user need to chossing a single issue in a project with this condition "currentUser in memberof (Customfield_SingleGroupPicker)" is true.

This is not possible out of the box. Maybe there are some plugins like Elements Connect which make this possible but I don't have a concrete idea. Sorry.

ok don't worry, thank you

It is "assignee in (membersOf(teamName))" (at least in Cloud version). I hope it helps to other people who is looking for it in spite this ticket has been open for a while.

Has anyone actually figured this out? Seems like a common request that makes sense.

I have many departments and I have created a custom field that is set as the ticket moves to the different department which is assigned to the custom field. The custom field is a group field. 

I want to filter the Queues so I have one called "My Department Unassigned" what should show up are the tickets where current user is a member of custom field (group field).

Example: Agent 1 is part of General Help Desk and Application Support and Agent 2 is part of General Help Desk.

The Queue is Called My Department. Agent 1 should see all tickets with the group field value of General Help Desk or Application Support. Agent 2 should only see the tickets with the group field value of General Help Desk. 

Has anyone accomplished this with or without a plugin? If so any help would be greatly appreciated.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you