How to write custom jira functions to use in JQL. For ex: i want to find all the jiras that are updated by any of {user1, user2, .. user10} in the last 1week."
Hi @Manoj Joshi
Maybe something like this should help?
updated >= -1w AND assignee in (USER_GOES_HERE) order by created DESC
If you're looking to check a range of users, it might be more effective to add those users to a group and check if either one is an assignee of said group?
Here's an example:
updated >= -1w AND assignee in (membersOf(site-admins)) order by created DESC
KR,
Ash
Thanks Ash for the quick response. I was also thinking about the user groups. However, my manager wants me to write custom functions to use in JQL to address dynamic user lists rather than predefined user groups. Can you please point me to some resources on how to write custom functions. One i researched so fat talks about installing Script Runner, Script Fragments and use Java code to make custom functions..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ScriptRunner is quite powerful and if you're not familiar with it, it can take a while to get it to do what you want.
Can you elaborate on what the requirement is a bit more? Maybe there is a better way to do this but I'll need to know the idea behind it.
KR,
Ash
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.