I need to filter the issues where last comment author is user in custom field (i.e. tempCF).
the issueFunction in commented("by user") is working with the user ID.
How can I use a custom field here?
Then you can have a look to : https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-functions-reference-764478342.html
and look for the JQL functions returning a "user" and see if one matches what you need ? without more details I'd go for currentUser() but it is not necessarily what you're looking for
I think you made that work for the case where you name a particular user, or for the current user, but you can't do what you actually asked for - which is just to find the issues where they are the same.
If you actually need that you could write a new JQL function, but it would not be able to do it using a "pure" lucene query (so slow).
Or you could do a hidden script field which just marks whether they are the same, and query on that (or write a function which is an alias for querying on that).
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
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