Forums

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

How I can do a query to count the comments where a user is mentioned?

Wilmer Caiza
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!
December 22, 2023

I tried the query below, but our jiraaction table has around 30 million records and it takes around 10 minutes to execute by each user.
I need to consider de archived issues for this reason I can't use JQL.

select count (id) from jiraaction ja where ja.actionbody like '%~userFilter%';

 

If you have any ideas I appreciate.

 

Thanks.

 

 

1 answer

0 votes
Mirek
Community Champion
December 30, 2023
Wilmer Caiza
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, 2024

Thanks Mirek, I will review it.

Like Mirek likes this

Suggest an answer

Log in or Sign up to answer