Forums

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

Commented Tickets

MuhAk90
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!
January 5, 2023

(issueFunction in commented("by currentUser()") OR creator = currentUSer()) AND createdDate < endOfDay() AND createdDate >= startOfDay() ORDER BY created DESC

This JQL Code shows all Tickets that i commented today and were created on the same day..

But the code doesnt show tickets, that were created in the past and were commented today

Can anyone help me to change the code?

1 answer

0 votes
Vamsi Kandala
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 5, 2023

Hi @MuhAk90,

Welcome to the community!

You can try this if you are looking for tickets that you have commented AND created within the past 5 days including today:

(issueFunction in commented("by currentUser()") AND creator = currentUSer()) AND createdDate >= -5d ORDER BY created DESC

Or, try this if you are looking for tickets that you have commented OR created within the past 5 days including today:

(issueFunction in commented("by currentUser()") OR creator = currentUSer()) AND createdDate >= -5d ORDER BY created DESC

You can change the '5d' value to look for tickets commented/ created in the past number of days accordingly.

Hope this helps.

Thanks,
Vamsi

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events