There's no way to discard unpublished changes at the moment.
The thing I do is to publish your changes and then revert to the previous version ( three dots --> History --> Restore the previous one).
I hope it will work for you as well.
If I revert to the last published version it deletes any pending drafts owned by other people.
Dear Atlassian, you have a net worth of approximately 26 billion and have been developing your products for around 20 years. Can I please have a feature to discard my draft in Confluence, a proprietary product centred entirely around the editing and publishing of documents? Not everyone's drafts, just mine. Please.
If you need a hand implementing this you can take a look at your self-hosted confluence which gives the option to discard a draft when a user begins editing a page.
Please do not suggest I use script-runner or upvote a 5 year old feature request.
@Emily Chan 's posted below on 12 May 2019 does say that is exactly what happens
She says that
Given that was said 2 years ago, I'm not holding out much hope.
I can't say I agree that it is the correct outcome 😒
Can you confirm if that once published, the page history of the draft is converted into actual history with each editor's draft version truly recorded?
Hi David, currently it's not possible to discard changes in a draft, as they're autosaved. We have already a feature request for that and you can find it at CONFCLOUD-45721. You can vote for it to increase it's popularity and watch it to receive further updates, you can also add your thoughts in a comment.
Let me know if you have any questions :) Otherwise, you can accept the answer as valid.
@JM This advice is out of date, in the intervening 18 months we have changed the interface. In the ... menu next to the Publish/Close buttons there is an option to do what you'd like:
For unpublished drafts there is an option to "Delete unpublished page".
For published pages, in the same ... menu you have an option to "Revert to published page".
I hope that helps.
@philoye No, it doesn't help. I'm writing this in April 2019, and I came here because I DON'T find any option to discard unpublished changes.
I tried to make some formatting changes to my page, and it got messed up due to unintuitive formatting tools, so I closed the browser window and came back hoping that the changes would go away. There it says 'unpublished changes', and although the page displays correctly on view mode, if I went to edit more it shows the changed version.
There's no way now to discard those changes. I HAD to hit 'Update' and then restore the previous version from the page history. This is soooo stupid. If you auto-save my changes, there should be an easy way to revert as well.
That comment was for our Hosted version still on v 5.8.13
But I also have a Cloud instance
You can discard
if you have an unpublished draft of the page, the title line looks like this
Now, down in the bottom right corner click the Ellipsis three dot icon
Select the Revert option and this pop up appears
I hope that helps
Hi, Sorry for the delay in responding. I was on vacation.
My blue bar is on the top and the version is 'Confluence 6.6.5'
I see the option to discard only when I make the changes and hit the Close (picture below) button to close right after making those changes:
When I hit the Close button, I see the following:
This is the ONLY time I see that dialog box ever.
If I accidently close the browser window, my changes are auto-saved, and when I come back I see NO option to discard those changes. I only see the following on top of the page. Nothing happens if I click on it.
At the bottom, there's an Update button that will publish these changes, and a Close button that'll just exit the Edit mode and take you to the View mode. Like I said above, this Close button will ask if I want to discard changes, ONLY when I select that button right after making changes. If you close the browser window and come back, it won't provide that option.
So essentially, if you miss discarding your changes the first time, you miss it for ever (at least in this version that I'm using).
@Rodney, I don't see those ellipsis at the bottom right corner of the page when I go in edit mode.
Here's what I see on top of the page in View mode:
When I go into Edit mode, the following is what I see on the top of the page:
and here's what I see on the bottom of the page:
There is NO ellipsis anywhere on the bottom of that page when I go in Edit mode. Hope this helps.
@philoye Why on earth this has to be so complex? I only see three options now: preview, update, close. If you just add another one: 'Close without Saving' that should easily solve this. Also provide an option to discard changes for those who close the window without choosing any of these options, when the return.
I thought it would be helpful to consolidate the answers to this question, and to provide additional clarification to the answers that had been given.
As of Confluence Server 6.15, the way to discard your drafts without saving is to click on the triple ellipsis ( "..." ) at the bottom right of the editor (next to the "Publish" and "Close" buttons).
As of Confluence Cloud 1000.0.0-98902f4c0cc, the user experience is the same as Confluence Server 6.15.
@Tom , the user experience is different for Confluence Server 6.6.5.
As you've said, when you've made any changes and click close, a dialog shows up and asks you whether you want to (1) keep the draft or (2) discard all changes (or everyone's changes, in the case of collaborative editing).
If you had closed the browser window, the system assumes you had chosen to keep the draft.
When the draft has been kept, and you yourself have not made any changes, the dialog will not appear when you close the editor.
If there has been changes to the draft, but none of these changes were made by you, then the dialog will not appear when you close the editor.
If you had made any changes to the draft (even a single extra space, a new line, or deleting and rewriting any word in the page), then the dialog will appear again.
I've read through all of the above. I'm running the cloud version.
I've made some changes that I want to discard.
I hit close and it says "Unpublished Changes" at the top of the page. The last update to the page was May 02, 2018.
I go to edit the page. I click on "Revert to last Published Page". The version it warns me about is the one that was published on March 27, 2018, not May 2, 2018 as I expect.
So, if I follow the instructions above, to clarify:
Before I proceed with this, because I don't want to lose the changes that the person made for the May 2, 2018 one, are we sure that if I follow this methodology, that after reverting my changes, this should return to the May 2, 2018 one, not the March 27, 2018 version?
Have I confused you enough yet?
I have just tested what I think you are describing
A page with only one version dated 2014 - View mode is "clear"
I edited the page and closed without Publishing
View mode now shows "Unpublished changes" and of course the unpublished changes are not showing. Ellipsis Page History still shows only one version.
Now back in Edit mode I Publish the changes, Page History now shows two versions
If I Restore the previous version, View mode now shows the original 2014 version and Page History now has 3 versions, the latest showing with comment "Reverted from v1"
Then I decided to Restore version 2 - the one with the published changes I made today. Page History now shows 4 versions with the latest showing as "Reverted from v2"
Phew, Atlassian Team 2021 blew by. With dozens of demos and a handful of keynotes, you may have missed some of the awesome Confluence Cloud sessions. Don't' worry, you can watch them all here or on Y...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events