Skip to main content
Skip table of contents

Integrate Release Notes from Released.so

Integrate Release Notes from the Jira app Released into your Viewport site.

Released is a Jira app that helps you create release notes straight out of your Jira issues using the assistance of an AI copywriter. These release notes can then be published as an announcement page or widget.

This guide will show you how you can embed your Released announcement page or widget into your Viewport help center.

Released.so announcement page in Viewport

The Released announcement page embedded into a Viewport help center

The announcement page is ideal if you would like the Released content to tightly integrate with the rest of your documentation. The widget is best if you would like to let your users easily find out what’s new from everywhere in your help center.

Embed the Announcement Page from Released into Viewport

Released lets you publish all your release posts into a standalone announcement page. You can make this announcement page and its content appear on one of your Viewport pages. For that we will use an empty page that acts as a placeholder.

This page will always reflect the latest updates that you publish with Released, without having to update your Viewport site. You can embed the announcement page following these steps:

  1. Create a new Confluence page, right where you want the announcement page to appear in your Viewport documentation.

  2. Enter a page title and leave the rest of the page empty.

  3. Publish the Confluence page

  4. Note down the page ID from the URL of the Confluence page. The URL will look as follows: https://example.atlassian.net/wiki/spaces/space-key/pages/page-ID/page-title

  5. Navigate to the Released settings in your Jira project and locate the channel ID in the embed code of the Announcement Page settings.

  6. Note down the channel ID from the embed code.

  7. Copy the following Javascript code:

    JS
    if (vp.source.confluencePageId === "PAGE_ID") {
      vp.loadScript('https://embed.released.so/1/embed.js').then(() => {
        document.getElementById("article-content").innerHTML = '<released-page channel-id="CHANNEL_ID" color-scheme="light" color-scheme="light" top-offset="80px" color-primary="#FFF"></released-page>'
      });
    }
  8. Replace the CHANNEL_ID and PAGE_ID placeholders in the code above with the IDs noted in the previous steps.

  9. Insert the complete code into Viewport’s Javascript editor.

  10. Save and update your site.

When opening the specified page in Viewport, your announcement page will be rendered over it. Any changes you make in Released that affect the announcement page will automatically reflect on this page - no site update needed.

Embed the Widget from Released into Viewport

Embed the widget with the help of a simple widget code:

  1. Navigate to the Released settings in your Jira project and locate the channel ID in the embed code of the Widget settings.

  2. Note down the channel ID from the embed code.

  3. Copy the following Javascript code:

    JS
    vp.loadScript('https://embed.released.so/1/embed.js').then(() => {
      document.body.insertAdjacentHTML('beforeend', '<released-widget channel-id="CHANNEL_ID"></released-widget>')
    });
  4. Replace the CHANNEL_ID placeholders in the code above with the ID noted in the previous steps.

  5. Insert the complete code into Viewport’s Javascript editor.

  6. Save and update your site.

Your widget will now appear on all pages of your help center and can be opened with the help of a small icon from the bottom right corner of your pages.

JavaScript errors detected

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

If this problem persists, please contact our support.