Like and comment count by people and space

Hsu Yao Chang September 16, 2015

Dear all, 

Would it be possible to count how many likes and comment by people and space ? Our confluence is version 4.2.1 . Thank you.

 

2 answers

0 votes
Rodrigo Girardi Adami
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 17, 2015

Hi Hsu,

I believe that you can retrieve the number of likes from the users in the table "Likes". This is an example query that will count all likes in the entire confluence for all users:

select count(*), l.username
from likes l
group by l.username;

You can modify the query for your needs.

I hope this helps!

Cheers,

Rodrigo

0 votes
Luiz Maia
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.
September 17, 2015

Hi,

Unfortunately there's not a method on Confluence to count this information. However, for comments, you can check through the database, using the below query:

SELECT * FROM content WHERE contenttype LIKE 'COMMENT'

Regards,
LM 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events