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,552,712
Community Members
 
Community Events
184
Community Groups

If we are to hide the page in place, is there an API call for that?

Edited

AIM: To automate the documentation cleanup process in the confluence server. There are various outdated and useless pages in a space. These pages will be reviewed by a team and they'll decide whether to keep the page or "hide" them. 

Once hidden these pages won't appear on search. Although these can be viewed by admins.

One way to do this is to create archived space and move useless pages to it. But we are trying to avoid the hassle of creating a separate space for archived pages. So instead is it possible to:

1. Hide the page in place?

2. If yes, how can it be achieved (is there any option for this manually)?

3. Is there an API to do this? Or automate this?

( I am looking for solutions which preferably do not involve the use of plugins, unless necessary)

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 29, 2023

Welcome to the Atlassian Community!

There is no "hide" in Confluence.  You can archive spaces to remove them from general view, but you're not going to be able to do pages without help from an app.

There are some apps that do enable easy page archiving, but there is another option - you could restrict a page away from all the users (restricting "view page" to a group that has no users is the easiest thing).  Even admins will still be able to see them in the "restricted pages" part of a space, but they'll have to de-restrict them to see the content.

You'll still need an app to automate restrictions.  Blatant advert here - you can write a script that adds restrictions to pages in Scriptrunner.  A simple example is at https://library.adaptavist.com/entity/restrict-page-based-on-user-group

Seems helpful for my case. Thank you so much!!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events