I am looking to automate the creation of a Folder, THEN a Page within Confluence when a work item enters a status.
I see a native workflow to create a Confluence Page, but no other native feature around Folders, Live Docs, or documentation type. Will this be implemented soon, or is there a less convoluted way to execute than to do a /POST web request?
Hi @Anna Luszcak -- Welcome to the Atlassian Community!
Short answer: Not yet.
Currently, you may use the REST API, and possibly multiple rules (i.e., one to create the folder and another triggered by that to add the page inside with the endpoint).
I have not seen any updates in the weekly change blog for better folder handling in rules, and the open suggestion for this shows little activity: https://jira.atlassian.com/browse/AUTO-1641
As you appear to be on a paid license, perhaps ping the support team to learn more: https://support.atlassian.com/contact/#/
Kind regards,
Bill
Hey @Anna Luszcak
I decided to take this on as a mental exercise as @Bill Sheboy is correct there isn't much you can do with folders at the minute. However, I did get something working, but it's not "pretty"
Hight level it's this:
Create a page via API
Create a page variable from the webResponse capturing the new page ID
Create a folder via API
Create a folder variable from the webResponse capturing the new folder ID
Use the "Move" endpoint with the page and folder variables to complete the action.
To my surprise it worked.
If you'd like me to share screenshots, I can. But like I said, she ain't pretty 🤣
Thanks
Aaron.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the route we are going down. Before I invested the time/effort in building it out, I wanted a sanity check that this was going to be the ugly but the most effective/efficient route available at the moment.
Thank you for the effort!
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.