Forums

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

Automation - Move new page into a folder

Nathan Charles Unsworth May 6, 2025

I have an automation that creates a folder, several pages, and some smart links.  I can't figure out how to set the parent for the page or links as the folder.  Is this even an option right now?  I get an error that a page needs to be produced when I choose "Current page in the rule"; but I'm publishing a new page earlier in the workflow.  What's going on?

Screenshot 2025-05-06 120316.pngScreenshot 2025-05-06 120211.png

3 answers

1 vote
Bill Sheboy
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 Leaders.
May 6, 2025

Hi @Nathan Charles Unsworth -- Welcome to the Atlassian Community!

The current rule features have limited support for folders.  I believe there is only a Folder Created trigger and the {{folder}} smart value, but not support with the Publish Page action.

Here is the suggestion to add more support for folders in rules: https://jira.atlassian.com/browse/AUTO-1641

Until then, the REST API endpoints with the Send Web Request action may be used.

Kind regards,
Bill

Nathan Charles Unsworth May 7, 2025

Thank you!  Voted for this.

0 votes
Piyush Annadate _ACE Pune_
Community Champion
May 6, 2025

Hi @Nathan Charles Unsworth & @Bill Sheboy ,
Just checked with latest changes in Confluence, the automation support moving a page to FOLDER. Also the NEW page publish also have PARENT as folder. 

Screenshot 2025-05-07 at 12.01.39 PM.png

Nathan Charles Unsworth May 7, 2025

I don't see that as an option; I'm using Confluence Cloud.  Does my Admin need to accept an update or something?

I think I have another problem though; I can't set any page published in the automation as the parent for later pages.  Per my screenshot below, I am publishing a new page called "Landing Page".  The second page called "... Runbook" doesn't see the Landing Page as an available Parent.

Screenshot 2025-05-07 100649.png

Bill Sheboy
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 Leaders.
May 7, 2025

@Piyush Annadate _ACE Pune_ -- Please note the differences between your rule and Nathan's one...

You have selected a specific Space in the Publish Page action, and so it can resolve to folders and pages within that scope to set as a Parent.

But Nathan's rule is using the context from when the rule was triggered manually, and so the action cannot dynamically detect the list of parent values.  This is one of several limitations for using folders in rules at this time.

0 votes
Piyush Annadate _ACE Pune_
Community Champion
May 6, 2025

Hello @Nathan Charles Unsworth ,
Welcome to the Community !

With the current features, folder isn't YET part of automation, hence moving a page to folder can't be actioned. 

You may try something using rest api https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content---children-and-descendants/#api-wiki-rest-api-content-pageid-move-position-targetid-put

Nathan Charles Unsworth May 6, 2025

@Piyush Annadate _ACE Pune_ do you know if there is a product enhancement request already created for this?  Or is it on the product roadmap?

Piyush Annadate _ACE Pune_
Community Champion
May 6, 2025

Roadmap didn't have any notes about folder. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events