Hide draft after edit


All confluence-users can create and edit pages. For our workflow we use:

New page

1) Create page -> Status: "ready" and view/edit restrictions are set to the creator and confluence-moderators.

2) Page is approved -> Status: "published" and restrictions are removed. Everyone is able to see this page now.

Edit page

1) User edits page -> Status: "ready"

Now the issue is, is that all confluence-users are able to see the version "ready". Is there a way, that only the editor (and maybe creator) and confluence-moderators see the "ready" page and all other users still the "published" page? When setting the view/edit restriction the page would be completely hidden to other users, that's also not what we want.

2 answers

1 accepted

1 vote
Accepted answer

Miquel provided exactly what we need.

{workflowparameter:Reviewers|description=Reviewers group|type=group}
{send-email:user=@Reviewers@|subject=Page ready for approval}
The page @page@ is waiting for your approval.
{send-email:user=@Author@|subject=Page rejected}
Your page @page@ has been rejected by @user@.
{send-email:user=@Author@|subject=Page approved}
Your page @page@ has been approved by @user@.

You can use that within the adhoc workflow? Still, how to show the "published" version to everyone and the "ready/draft" version to the editor, creator and group X?

sorry, I have missed that adhocworkflowlabel ...

But in general, the show-to macro allows you to show the content of the macro to the defined people and groups. Besides the adhoc workflows. This would be an option to hide the draft from the "regular" user . And your published content can exist beside the one in the show-to macro.

The other option is, to use one space as working space and use a copy mechanism to publish the content in another space, just to view it there. Take a look on https://marketplace.atlassian.com/plugins/com.comalatech.publishing

Hi Steve,

Thanks for the assist but yeah we answered it through a private ticket which Patrick had also logged with us.

Also Patrick, if you wanted to you can post the workflow in case others want to see it, but I'll leave that up to you.



I am also trying the same thing like New changes should not be visible to all users until it comes in publish state. The can see the last published page meanwhile.

I tried the workflow given by Miguel but it is not working It is restricting the page completely for users means they are getting an error "page is restricted".

Kindly help me out.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,133 views 61 8
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you