You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.