Skip to main content
Version: Early Access

Confluence Plugin

The Digital.ai Release Confluence plugin integrates your Confluence workspace with Release, making it easy to manage documentation as part of your release pipeline. It enables you to automate page creation, updates, and related actions so your Confluence content stays aligned with your delivery workflow.

Prerequisites

  • Digital.ai Release 25.1 or later.
  • Digital.ai Confluence Plugin
  • Keep Confluence identifiers like Page ID and Space Key handy. For more information, see Retrieving Confluence Identifiers.

Install the Digital.ai Confluence Plugin

To install the plugin:

  1. Open Release.
  2. Click the cog icon on the top right.
  3. Select Manage Plugins.
  4. Search for Confluence.
  5. Click Install Now next to the Confluence Plugin.

For more information on plugin installation, see Plugin Manager.

alt


Setup Connection to Confluence Server

  1. Log in to Digital.ai Release.

  2. Select Connections from the sidebar navigation menu.

  3. Under Digital.ai connections, click the + icon next to Confluence: Server.

  4. Enter the required details:

    • Title: A name for the Confluence server connection.
    • URL: The base API URL for Confluence. For example, https://{your-domain}/wiki.
    • Is Data Center: Enable this checkbox if your Confluence instance is running on Data Center.
      note

      When Is Data Center is enabled, Release uses Confluence Data Center–compatible endpoints.
      When disabled, it uses Cloud-compatible endpoints.

  5. Enter authentication details based on your Confluence instance type:

    For Confluence Cloud:

    • Authentication Type: Select Basic.
    • Username: Enter the email address associated with your Confluence Cloud account.
    • Password: Enter the API token generated from your Atlassian account.
    note

    To generate an API token for Confluence Cloud, go to your Atlassian account security settings and create a new API token.

    For Confluence Data Center:

    • Authentication Type: Supports both Bearer and Basic authentication.
    • Personal Access Token: Select Bearer Authentication type and enter the Personal Access Token (PAT) generated from your Confluence Data Center instance.
    note

    To generate a PAT for Confluence Data Center, navigate to your profile settings in Confluence, select Personal Access Tokens, and create a new token with appropriate permissions.

  6. If your Digital.ai Release server is using a proxy, specify the necessary values.

  7. Click Test to verify your connection.

  8. Click Save.

alt


Retrieving Confluence Identifiers

To use the plugin, you need to have Page ID and Space Key.

Finding the Space Key

  1. Open your Confluence workspace.
  2. Go to the space where the page is located.
  3. Look at the URL in your browser's address bar.
    `https://your-domain.atlassian.net/wiki/spaces/SPACEKEY/overview`.
    The SPACEKEY in the URL is the required Space Key.

Finding the Page ID

  1. Open the Confluence page you want to reference.

    note

    Ensure that the user has permissions to view and edit the page.

  2. Click the ellipse menu ellipsis menu at the top-right.

  3. Select Advanced Details and click Content Information.

  4. The Page ID is displayed in the URL.

    `https://your-domain.atlassian.net/wiki/pages/viewinfo.action?pageId=123456`.

    The pageId in the URL is the required Page ID.


Available Tasks

The following tasks are available for the Confluence plugin:

  • Confluence: Add Wiki Page
  • Confluence: Add Comment To Wiki Pages
  • Confluence: Update Wiki Pages
  • Confluence: Delete Wiki Pages
  • Confluence: Add Content Watchers
  • Confluence: Add Restriction To Pages
  • Confluence: Add Labels To Pages
  • Confluence: Get HTML Page By Title

Tasks in the Confluence plugin include input properties and output properties. Input properties pass in parameters required for execution, while output properties capture the results returned by Confluence.

Output properties can be mapped to Release variables for later use. For more information, see Mapping Task Output Properties to Variables.


note

Fields marked with (*) are mandatory.

Add Wiki Pages

This task creates a new page in Confluence under a specified space or parent page.

To create a page:

  1. In the release or template, click Add task.
  2. Click All types and select Confluence > Add Wiki Pages.
  3. Open the added task.
  4. Enter the required details:
FieldDescription
ServerSelect the Confluence server connection.
Space KeyEnter the Confluence space key where the page should be created.
Parent Page TitleEnter the title of the parent page under which the new page will be created.
Parent Page IdEnter the ID of the parent page under which the new page will be created.
Page TitleEnter the title of the new page.
Page TextEnter the content or body of the new Confluence page.

Once the task executes, a new Confluence page is created under the specified space. The output variable contains the newly created Page ID.

Add Wiki Pages

Add a Comment to a Wiki Page

This task adds a comment to a specified Confluence page.

To add a comment:

  1. In the release or template, click Add task.
  2. Click All types and select Confluence > Add Comment To Wiki Pages.
  3. Open the added task.
  4. Enter the required details:
FieldDescription
ServerSelect the Confluence server connection.
Space KeyEnter the key for the Confluence space.
Page TitlesEnter the titles of the pages where the comment must be added.
Page IdsEnter the IDs of the pages where the comment should be added.
CommentEnter the comment text.

Add Comment

Update a Wiki Page

This task updates the title and content of an existing Confluence page.

To update a page:

  1. In the release or template, click Add task.
  2. Click All types and select Confluence > Update Wiki Pages.
  3. Open the added task.
  4. Enter the required details:
FieldDescription
ServerSelect the Confluence server connection.
Page IdsEnter the Confluence page IDs to update.
New Page TitleEnter the new page title.
New Page TextEnter the new content or body for the page.
Update MessageEnter a message explaining the reason for the update.

The specified Confluence page is updated with the new title and content.

Update Wiki Page

Delete a Wiki Page

This task deletes an existing Confluence page using its page ID.

To delete a page:

  1. In the release or template, click Add task.
  2. Click All types and select Confluence > Delete Wiki Pages.
  3. Open the added task.
  4. Enter the required details:
FieldDescription
ServerSelect the Confluence server connection.
Space KeyProvide the space key for the Confluence space.
Page TitlesEnter the titles of the pages to be deleted.
Page IdsEnter the Confluence page IDs to delete.

The specified page is deleted from Confluence.

Delete Wiki Page

Add Content Watchers to Wiki Pages

This task adds users as watchers to specified Confluence pages.

To add watchers:

  1. In the release or template, click Add task.
  2. Click All types and select Confluence > Add Content Watchers.
  3. Open the added task.
  4. Enter the required details:
FieldDescription
ServerSelect the Confluence server connection.
Space KeyEnter the Confluence space key where the page is located.
Page TitlesEnter the titles of the pages where watchers need to be added.
Page IDsEnter the IDs of the pages where watchers need to be added.
User IDsEnter the IDs of the users to add as watchers.

The specified users are added as watchers for the selected Confluence pages.

Add Content Watchers

Add Restrictions to Wiki Pages

This task adds restrictions to Confluence pages, limiting access to specified users.

To add restrictions:

  1. In the release or template, click Add task.
  2. Click All types and select Confluence > Add Restriction To Pages.
  3. Open the added task.
  4. Enter the required details:
FieldDescription
ServerSelect the Confluence server connection.
Space KeyEnter the Confluence space key where the page is located.
Page TitlesEnter the titles of the pages where restrictions need to be added.
Page IDsEnter the IDs of the pages where restrictions need to be added.
User IDsEnter the IDs of the users who can access the pages.

The task applies restrictions so that only the specified users can access the selected Confluence pages.

Add Restrictions

Add Labels to Wiki Pages

This task adds labels to existing Confluence pages.

To add labels:

  1. In the release or template, click Add task.
  2. Click All types and select Confluence > Add Labels To Pages.
  3. Open the added task.
  4. Enter the required details:
FieldDescription
ServerSelect the Confluence server connection.
Space KeyEnter the Confluence space key where the page is located.
Page TitlesEnter the titles of the pages where labels need to be added.
Page IDsEnter the IDs of the pages where labels need to be added.
LabelsEnter the labels to assign to the pages.

The specified labels are added to the selected Confluence pages.

Add Labels

Get HTML Page By Title

warning

Retrieving very large pages will impact release performance. If you expect the page content to be large, increase the Output variable size to avoid truncation.
The default limit is 32,768 bytes.

This task retrieves the HTML content of a Confluence page by its title.

To get a page by title:

  1. In the release or template, click Add task.
  2. Click All types and select Confluence > Get HTML Page By Title.
  3. Open the added task.
  4. Enter the required details:
FieldDescription
ServerSelect the Confluence server connection.
Space keyEnter the key for the Confluence space.
Page titleEnter the title of the page whose HTML content you want to retrieve.

When the task runs, it retrieves the HTML content of the specified page and stores it in the task output variable.

Get HTML Page By Title