Forums

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

how can i use advanded search with jql in queue for opened issues by team

Frank Sinatra
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 8, 2021

Hello everyone,

I new to jira and i working on queues. I tried to figure out the problem but ı didnt expect it. 

İ use this jql for all closed issue by team and it work

"issuetype in standardIssueTypes() AND status in (closed) AND "relatedGroupCustomField" in groupsOfCurrentUser() ORDER BY resolved DESC"

this code works on queues 

i want to use spesific jql for all opened issues but it doesn't work 

like this

"issuetype in standardIssueTypes() AND status in (opened) AND reporter in membersof("relatedGroupCustomField" in groupsOfCurrentUser())"

I want to write like this jql. How can we solve this problem. Reporter's group must be dynamic.  I would like dynamically get reporter which group is in.

 

Thanks for your support 

 

1 answer

0 votes
Josh Zapin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 8, 2021

What are your issue statuses?  Is "Opened" one of them?  If not, then

status in (opened) 

won't work.

"Open" (without the ed) is the standard issue status.

Instead, try  

status in (open) 

instead. 

Frank Sinatra
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 18, 2021

I changed issue statuses name while creating a question. This recommend is not effective to me.  I explained myself wrong. İn this case I will have to explain from the beginning.

Many groups are working on service desk . Queue part dynamically brings closed request by group. Like this

status in (close) AND "relatedGroupCustomField" in groupsOfCurrentUser()

//this query returns all the request done/closed by team or group.

I want to create a dynamic queue specific to each group in the queue section. I want requests created by each group to appear dynamically in their own queue. ,

reporter in membersof("relatedGroupCustomField" in groupsOfCurrentUser())

//this query does not work

"membersOf()" this function contains only Groups. But I want to use group picker custom field in this function. I can use another function instead of this function, If you have any suggestion.

thanks for your advice  

Suggest an answer

Log in or Sign up to answer