Hello Community,
I'm trying to query all of the tickets transitioned today INTO "Technical Review" by members for group "it-security"
This query does not work:
project = "Client Support" and created > startOfDay() AND status changed TO "Technical Review" AND status changed BY membersOf("it-security")
If I remove the last portion:
AND status changed BY membersOf("it-security")
The JQL does resolve with a list of tickets transitioned today into "Technical Review".
I assumed that the membersOf would work since I'm able to query when status changed by a specific user (id has been changed to protect the innocent) like so:
project = "Client Support" and created > startOfDay() AND status changed TO "Technical Review" AND status changed BY "44444:88jea999-999f-7gh0-g7g7-6g5555sed55"
edit: The error received is A value provided by the function 'membersOf' is invalid for the field 'status'.
I just had an issue where I wanted to see the the issues claimed fixed by a certain user group
I would suggest trying this
Your line:
status changed BY membersOf("it-security")
This change Adding a bracket around membersOf() worked for me now:
status changed BY (membersof("it-security"))
I hope this helps you!
I missed this post from October by Dino!
I wanted to chime in and mention that this JQL does resolve:
project = "Client Support" and created > startOfMonth() AND status changed TO "Technical Review" AND status changed BY (membersof("it-security"))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Rosa M Fossi what I see from the Official JQL documentation (https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-operators/#WAS) is that You can only have "Username" predicate after BY.
.
and the supported fields of membersof() function are Assignee, Reporter, Voter, Watcher, custom fields of type User.
E.g. assignee in membersOf("it-security")
I'm not sure if the below query works for you.
project = "Client Support" and created > startOfWeek() AND status changed TO "Technical Review" AND assignee in membersOf("it-security")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm reasonably certain this worked in the past, as I have multiple queries that worked before that I built years ago. Mine are broken now, and found this when searching for help. The only difference of my query to Rosa's was I did not use double quotes around the group, e.g., membersOf(it-security).
I see the JQL docs don't mention this, so I don't know if the docs changed, or if this was unintended functionality that worked in the past. Frustrated as I'm certain undocumented functionality would not be high on Atlassian's list to fix. :-(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry to hear your JQLs broke Erik! I tried without the double quotes (just in case!) but it doesn't resolve. As the official documentation Sramanth linked it's not listed valid.
My guess is that at some point using the "membersOf" function was edited to only accept userID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The syntax would be
status changed to "Technical Review" BY membersOf("administrators")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your response @Kirkie
Unfortunately, that did not work. The same error appeared. I even tried simplifying the query a bit just to get it work, but same result.
project = "Client Support" and created > startOfWeek() AND status changed BY membersOf("it-security")
The error seems to imply that the query is checking the membersOf input against status itself. ¯\_(⊙︿⊙)_/¯
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
project = "Client Support" and created > startOfWeek() AND status changed TO "Technical Review" BY membersOf("it-security")
Can you tell me if the above works?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your willingness to help! Sadly the same error ಠ_ಠ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.