We need to get all tickets when user is mentioned recently (e.g. last X days). So basically restrict "comment ~ currentUser()" to some period of time comments were made.
Our instance is Jira Server with Script Runner installed.
I checked "issueFunction in commented" function in Script Runner, but it seems it doesn't allow search by comments text.
Thanks in advance for suggestions!