Skip to end of banner
Go to start of banner

How to find a Confluence user favorites list using Sql for Confluence

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

This article explains how to find a Confluence user favorites list by using SQL for Confluence app.

Instructions

  1. The following query provides data for the users with the list of their respective favorite pages. Write the below code in a SQL Query macro and select Output format as Wiki as shown below:

    SELECT u.username, c.title FROM label l, content_label t, content c, user_mapping u WHERE l.labelid=t.labelid AND t.contentid=c.contentid AND t.owner = u.user_key;
  2. The output of the above query is as shown below:


This example is from the PostgreSQL database.
  • No labels