Breadcrumbs

Use Automation To Create Pages With Snapshots


    Some use cases require the automatic creation of Confluence pages with Snapshots, including the automatic population of the data from Jira.

    For example, if weekly status report pages are to be created automatically.

    Basics

    To implement the use case, we’ll use several components:

    1. Define a Confluence Template that has the required content of the page, including one or several Snapshot macros. We'll use this template as the easiest way to assign content of a page that is created through Automation.

    2. Enable the Global Api Endpoint for Snapshots. See here how to do this: Automation- Administrator Controls

    3. Use Jira Automation (or Confluence Automation) to create a new page from the template you defined, and then trigger the snapshots. See details of this Automation rule below.

    Jira Automation Example

    image-20250815-091549.png

    The flow of the rule is like this:

    1. Trigger the rule: In the example, the rule is manually triggered by a user.

    2. Create the new page, using the template as its content.

    image-20250815-091101.png
    1. Log messages: these are optional. These are useful for troubleshooting.

    2. Send a web request

      1. The Web request URL is: https://snapshotst.radbeeapps.com/take-snapshot/{{content.id}}

      2. Two headers: jira-snapshots-api-key, and Content-Length

      3. image-20250815-091653.png