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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

313 views 0 6
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