Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Expose smart values from "Publish new page in Confluence" action

Tine Marie Uldal
Contributor
July 9, 2026

Hi! 

This is more of a suggestion than a question, as I could not find support for this anywhere.

Please see Rovo's summary below. The use case stated is what we need to have a fully automated process. I imagine this could be useful for anyone creating recurring documentation in Confluence, like reports and meeting minutes etc based on templates without having to rely on building the page with markdown in the page content field.

Note: The smart values listed are Rovo's suggestions based on the conversation we had, so I can't guarantee their accuracy,


Component

Confluence Integration

Description

Problem:
When using the "Publish new page in Confluence" action in Jira Automation, only two smart values are available from the created page: {{createdPage.title}} and {{createdPage.url}}. There is no way to reference the page ID or body content in subsequent actions.

This means it is impossible to programmatically edit a page created by a previous automation step — for example, to populate dynamic values (dates, week numbers, metadata) into a page that was created from a Confluence template.

Current workaround limitations:

  • The "Edit page in Confluence" action only allows selecting an existing, static page from a dropdown — it cannot reference a dynamically created page from the flow

  • The "Page content" field is disabled when a template is selected in "Publish new page", so smart values cannot be injected into template-based pages

  • Confluence templates themselves do not support smart values or dynamic content

  • Using "Send web request" to call the Confluence API requires createdPage.id, which is not exposed

Requested enhancement:

  1. Expose additional smart values from the "Publish new page" action:

    • {{createdPage.id}} — the numeric page ID

    • {{createdPage.body}} — the page body content (storage format)

    • {{createdPage.spaceKey}} — the space key

  2. Allow the "Edit page in Confluence" action to accept "Current page in flow" or a smart value reference, not just a static page selection

Use case:
We run a weekly management status report. Automation creates a new Confluence page from a template every Monday with a dynamic title ({{now.year}} W{{now.weekOfYear}} - Status Updates). We need to also populate the date range field in the report metadata table — but there is currently no way to modify the created page after it's been published by the automation rule.

This forces a manual step every week for what should be a fully automated workflow.

Expected behavior:
After "Publish new page in Confluence" runs, subsequent actions should be able to reference and modify the created page using smart values — just as issue-based actions can reference {{issue.key}} and {{issue.fields}}.

3 answers

3 votes
Dan Breyen
Community Champion
July 9, 2026

Hi @Tine Marie Uldal take a look at CONFCLOUD-82251 as this sounds like your issue to me.

If it isn't, there are a few others that are close.  If you don't see your specific issue, you can create your Suggestion out there for future consideration.

Feel free to vote for and watch it for updates if that is your request.

You can create a new suggestion out there if you can't find one that already exists.  Feel free to post the number out here, so people could vote for it.

Hope that helps.

 

1 vote
Gabriela
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 9, 2026

Those two are all the action exposes today, but the page id and space key are both in the URL already, so you can get them now without waiting on the feature request.

`{{createdPage.url}}` comes back as `.../wiki/spaces/SPACEKEY/pages/PAGEID/Title`. The page id is `{{createdPage.url.substringBetween("/pages/","/")}}` and the space key is `{{createdPage.url.substringBetween("/spaces/","/")}}`. If substringBetween gives you trouble, `{{createdPage.url.split("/").get(7)}}` returns the id and `.get(5)` the space key.

The body you can't pull from the URL. If you really need the stored content later in the rule, add a Send web request — GET `/wiki/api/v2/pages/{id}?body-format=storage` with a Basic auth header and the id from above — then read it from `{{webResponse.body.body.storage.value}}`.

CONFCLOUD-82251 is the right one to vote on to get all three exposed natively.

0 votes
Arkadiusz Wroblewski
Community Champion
July 9, 2026

Hello @Tine Marie Uldal 

There already an Feature Request close related to that what you asking [CONFCLOUD-82251] Support for using automation {{smart.values}} in Confluence templates, when using "Publish Confluence page" action - Create and track feature requests for Atlassian products.

I advise to track and Upvote it to get more attention.

Best,

Arek🤠

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events