Hi all,
I am trying out the Teamwork Graph API to measure recent engagement on Confluence pages (viewers, likes, comments). Views and comments behave as expected, but likes don’t match what users see in the Confluence UI.
What I observed
On a Confluence Cloud site, I queried the atlassian_user_liked_confluence_page relationship
MATCH (page:ConfluencePage)
WHERE page.ari IN $pageAris
OPTIONAL MATCH (liker:AtlassianUser)-[:atlassian_user_liked_confluence_page]->(page)
RETURN page, count(DISTINCT liker) AS likeCount
Results by how the like was created:
| How the like was created | Appears in Teamwork Graph? |
|---|---|
POST /wiki/rest/likes/1.0/content/{id}/likes (legacy likes REST API) |
Yes |
| Clicking the legacy “Like” button (still shown on pages that already have likes) | Yes |
| No |
So the relationship seems to be populated only from the “legacy” likes store, not from reactions. On most pages today, users react with emoji (and
is the default “like”), so the relationship misses most current engagement.
Steps to reproduce
- Create a new page.
- User A adds a
reaction in the UI. - User B likes the page using
POST /wiki/rest/likes/1.0/content/{id}/likes. - Wait a few minutes, then run the query above for the page’s ARI.
- Result: count is 1 (user B only). We expected 2.
Questions
- Is this expected? Should
atlassian_user_liked_confluence_pageinclude
reactions, or are reactions intentionally out of scope? - If the answer to #1 is yes: Are there plans to add a relationship for reactions on Confluence content? Teamwork Graph already has “Atlassian user reacted to Jira work item comment” and “Atlassian user reacted to Loom video”, but nothing similar for Confluence pages.