Dear Community,
I am using a Scheduled Job automation to generate a Confluence page. This job runs daily and creates a page with the list of open risks across my teams.
A Rovo agent is used to read the risk registers from multiple teams and consolidate them into this page.
Before each run, I want the existing content on the page to be completely cleared and then updated with the latest risks. Currently, the new content is getting appended to the existing page, which is not the desired behavior.
Thank you
Hello @Prasanna Subramaniam
Can you share with us screen images showing the entirety of the rule you are currently running?
Hello @Trudy Claspill ,
Below is the sequence
Triggers
- Scheduled at 12 Noon on week days
Then
- Risk Rovo Agent to consolidate the data
And
- Edit confluence page
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the additional information.
Can you share with us the details of the Edit Page action?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see this at the top - Append content to the end of a page.
But I didn't set that . How do I change it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Prasanna,
Unfortunately you cannot change that. The Edit Page action appends content to the page by design.
If you want to replace the content entirely you would need to use a Send Web Request action to update the page:
https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-put
Or, delete the original page and create an entirely new page rather than edit the existing page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your Inputs @Trudy Claspill .
Is there an option to Delete the confleunce page by automation ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, there is a Delete Page action listed in the Confluence Cloud Automation documentation on the Actions page:
https://support.atlassian.com/cloud-automation/docs/actions-in-confluence-automation/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.