JQL to find issues I'm mentioned in but haven't commented since the last mention


We have this plugin: https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html but can't figure out how to find comments where a specific user was mentioned in the last 24 hours. To closest I could get was this - which only returns comments someone made, not where someone was mentioned:

issueFunction in commented("after -1d by USER")

*USER replaces the real username I was using.


In addition, we want to setup a subscription for every user, so does anyone know if we setup a subscriptoin for a group of members but use currentuser() in the jql if it would return items for the specific person getting the subscription or do we have to setup a special subscription for each person?





1 answer

This query seems to work for me:

issueFunction in commented("after -1d") and comment ~ "anuser"

It looks for comments made in the last day where the comment contains 'anuser' (their username).  

Screen Shot 2017-08-09 at 10.51.20 AM.png

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

175 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you