I want to filter out ticket list which matches below criteria,
currently i have below query which is by the way not working.
assignee was in usersInRole("LCH", "Client") and assignee changed AFTER startOfDay(-5d)
thank you in advance,
Hello Alana,
It seems that you are using JQL tricks plugin, (usersInRole) function.
From the docs it seems it supports only "in" operator and not "was in" operator as was in operator searches the history of the issue-
usersInRole([project],role)
Function To find issues based on users in a specific role in a specific project. Project role made optional in 7.0.
Since : v1.0
Usage:
For the part "tickets assignee changes in last 5 days" you can try this , as it's working
assignee changed DURING (startOfDay(-5),now())
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes Tarun, i think you are correct. but still is there a way of filtering out my requirement?
I mean is there a way append assignee was in client role to the JQL you provided above?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
JRIA out of the box doesn't provide way to filter on roles, the JQL tricks plugin provides to filter based on current state but your requirement is "was in" thus not only current but past as well. Hence right now I am not sure about it, I will come back to you if something comes to my mind.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Tarun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @Tarun Sapra, some jtrics functions are not associating with assignee.
I tried assignee was in user in role ("Client") but JIRA shows and error that saying
"A value provided by the function 'usersInRole' is invalid for the field 'assignee'."
therefore considering current situation i am accepting your answer which is
JRIA out of the box doesn't provide way to filter on roles, the JQL tricks plugin provides to filter based on current state but your requirement is "was in" thus not only current but past as well. Hence right now I am not sure about it, I will come back to you if something comes to my mind.
thanks for the help
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.