I have a query for issues that were not commented on by 'user' for a specified number of days:
issuefunction not in commented("by currentuser() after -3d")
However, I have a custom field called "Build Assignee" that I would like to use for the search instead of myself. Something like:
issuefunction not in commented("by "Build Assignee" after -3d")
I've tried a few variations, but it seems the function wants either a specific user or currentuser().
Is this possible?
That specific JQL function is something that the Scriptrunner plugin is adding to JIRA.
That said the documentation on how that function works in over in ScriptRunner - Scripted JQL Functions.
It does not appear that this function can use custom fields that contain user accounts, but that function does allow you use arguments like project roles, or group names in order to search for users that would match that criteria. That probably isn't exactly what you are looking for here, but it might help.
I appreciate the response, Andy. Unfortunately, no, the role/group functions won't work as everyone in my org has the same role and group.
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.