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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Roadmap didn't have any notes about folder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.