Skip to main content
Skip table of contents

Working with Discussions

The GitHub Links macro can display GitHub Discussions directly in Confluence - both individual discussions and filtered discussion lists.

Supported Discussion link types

Link type

URL pattern

What is displayed

Single discussion

.../discussions/{number}

State (Open / Answered / Closed), title, number, category (with emoji), author, labels, comment count

Discussions list

.../discussions

List of discussions with state, title, category, author

image-20260613-030419.png

How to embed a discussion

Paste any GitHub Discussion URL directly onto a Confluence page in edit mode - it auto-converts to a card. You can also use the macro editor:

  1. Type /GitHub links or click + and select GitHub links.

  2. In the GitHub Link field, paste the discussion URL.

  3. Click Submit.

    image-20260613-030124.png

Filtering a discussions list by category

Append a category query parameter to show only discussions from a specific category:

CODE
https://github.com/{owner}/{repo}/discussions?discussions_q=category:{category-name}

The macro renders only discussions in that category, with the category name as the section heading.

Permission requirements

Displaying discussions requires the Discussions (read) permission to be granted to the GitHub App. Without it the macro displays: "Additional GitHub App permission required - grant 'Discussions' (read) and re-approve the app to display discussions."

How to grant the Discussions permission

A Confluence administrator must complete this in GitHub:

  1. Go to your GitHub organisation settings.

  2. Navigate to Integrations → GitHub Apps.

  3. Locate Links for Confluence and click Configure.

  4. Scroll to the Permissions section.

  5. Find Discussions and set it to Read.

  6. Click Save. GitHub will prompt organisation members to re-approve the updated permissions.

Once re-approved, discussions will render correctly for all users.

For a full overview of GitHub App permissions and how to manage organisation access, see Managing GitHub App permissions and organisation access.

Updated:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.