Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

JQL status changed by a group member Edited

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'.

3 answers

1 accepted

2 votes
Answer accepted

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! 

This worked for me, thanks for suggesting!

Like Rosa M Fossi likes this

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"))

The syntax would be

status changed to "Technical Review" BY membersOf("administrators")

Thanks for your response @Amanda Kirk 

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")

 

jql-membersOf.png

 

The error seems to imply that the query is checking the membersOf input against status itself.    ¯\_(⊙︿⊙)_/¯ 

project = "Client Support" and created > startOfWeek() AND status changed TO "Technical Review" BY membersOf("it-security")

 Can you tell me if the above works?

Thanks for your willingness to help!   Sadly the same error    ಠ_ಠ

0 votes

@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. 

Screen Shot 2020-08-28 at 3.50.44 PM.png.

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")

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. :-(

Like Vignesh Arunachalam likes this

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. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Service Management

JSM June ask me anything (AMA)

Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...

91 views 4 8
Read article

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