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

Hi,

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?

 

Thanks,

Katie

 

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 Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,396 views 0 8
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