Confluence - Create Page
Overview
First, you will need your api token, confluence domain, and email.
You also need a url of an already existing page within the space you want your new page to be uploaded – this is the Space URL.
Variables
| Name | Reference | Type | Required | Default | Options | Description |
|---|---|---|---|---|---|---|
| Access Token | CONFLUENCE_ACCESS_TOKEN | Password | ✅ | - | - | Get yours at: https://id.atlassian.com/manage-profile/security/api-tokens |
| CONFLUENCE_EMAIL | Alphanumeric | ✅ | - | - | Your email address that is associated with your Confluence account. | |
| Domain | CONFLUENCE_DOMAIN | Alphanumeric | ✅ | - | - | Your subdomain is the first part of the Confluence URL. For example, if your URL is https://agencypmg.atlassian.net/wiki/home, your subdomain is "agencypmg". |
| Page Title | PAGE_TITLE | Alphanumeric | ✅ | - | - | The title of the page to be created. Make sure it is unique within the space you are uploading to. |
| Space URL | SPACE_URL | Alphanumeric | ✅ | - | - | The Space URL is the url of another page in the space where you want your page to be uploaded. Please provide the whole URL of that page. |
| Make it nested? | IS_NESTED | Boolean | ➖ | False | - | If True, Page ID will be extracted from the Space URL and the created page will be nested under that page. |
| Status | STATUS | Select | ➖ | normal | Normal: normal Draft: draft Live: live | Choose what type of page gets uploaded: 'draft', 'live', or 'normal' (default) |
YAML
Below is the YAML template
source:
template: Confluence - Create Page
inputs:
CONFLUENCE_ACCESS_TOKEN:
CONFLUENCE_EMAIL:
CONFLUENCE_DOMAIN:
PAGE_TITLE:
SPACE_URL:
IS_NESTED: false
STATUS: normal
type: TEMPLATE
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- 14
- 102
- 103
- 99
- 153
- 2