Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,517
Community Members
 
Community Events
184
Community Groups

Question related to Confluence automation

Edited
javed.faruquee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Mar 23, 2023

Hi,

I was looking for a way to automate archive PAGE or SPACE in confluence based on flag or comment or label which user can choose indicating that the PAGE is no longer actively used or SPACE for the Project is not actively used coz project is completed and thus they should  be archived making them READ ONLY with DELETE restrictions for such SPACE or PAGE.

Regards

Javed

2 answers

0 votes
Trev Angle
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 03, 2023

Hi @javed.faruquee this is definitely possible for pages! Here is an example of an automation rule that archives pages when they have the 'archive' label added:

Screenshot 2023-04-03 at 11.26.34 AM.png

 

For spaces, there is currently no direct way to archive a space through automation. However, you may be able to use the 'Send web request' action to call the Confluence REST API through an automation rule: https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space/#api-wiki-rest-api-space-spacekey-put

0 votes
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.
Mar 23, 2023

Hi @javed.faruquee -- Welcome to the Atlassian Community!

First thing: I am not currently using Confluence Automation, and I am basing my answer on what I know of Jira Cloud Automation and the documentation.  With that disclaimer out of the way...

Confluence Automation is supported with the Premium or Enterprise license levels.  Do you have one of those?

There is a trigger for adding a label to a page, conditions for using CQL to test label values, and an action to archive a page.  So it appears this should be possible.

Please look here to get started creating your rule: https://support.atlassian.com/cloud-automation/docs/confluence-cloud-automation/

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events