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
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


202 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