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 widget could not be displayed.

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 Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

513 views 3 18
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