Skip to main content
Version: Release 25.1

Confluence Plugin

The Digital.ai Release Confluence plugin integrates your Confluence workspace with Digital.ai Release, enabling collaboration within your release workflows.

Using this plugin, you can:

  • Create a new Confluence page.
  • Update an existing Confluence page.
  • Add a comment to a Confluence page.
  • Delete a Confluence page.
  • Add watchers to Confluence pages.
  • Add restrictions to Confluence pages.
  • Add labels to Confluence pages.

Prerequisites

  • Digital.ai Release 25.1 or later.

Install the Digital.ai Confluence Plugin

Install the Confluence plugin using the Plugin Manager.

alt


Connect Release to Your 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.

    alt

  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.

    If required enter authentication details:

    • Username: Enter the email address to authenticate with Confluence.
    • Personal Access Token: The API token for Confluence requests.
    note

    The Confluence plugin supports both username/password authentication and Personal Access Token (PAT) authentication. For PAT authentication, ensure you have generated a valid API Token from your Confluence server before configuring the connection.

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

  6. Click Test to verify your connection.

  7. Click Save.

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 ellipses (...) 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.


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.

A comment is added to the specified Confluence page. An output variable captures the newly created comment ID.

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