Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to create a jira filter that lists if current user is mentioned in comments within past 7 days

goutham1129
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 27, 2018

(comment ~ currentUser() ) AND updatedDate >= -7d ORDER BY updated DESC

this returns issues that are updated in last 7 days , whereas the user is mentioned in comments before months.

1 answer

0 votes
joshloe
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 27, 2018

Gouthaman,

Using this expression

(comment ~ currentUser() ) AND updatedDate >= -7d ORDER BY updated DESC


Will show the issues that were updated within 7 days, and not exactly where the last comments were added within 7 days. Updating a field, doing a transition, assigning etc. is considered as an update,  which will update the updatedDate and  catch in your filter.

This has been discussed before to add the option to search the comment date through JQL on this suggestion JRA-44498 however, it was decided to not implement this function.

They also provided some third-party plugins that could provide this functionality such as ScriptRunner for JIRA and SQL for JIRA.

-Josh Loe

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events