How to add comment in page history
Asked by Filip Stefanov:

How can i add such comment from REST API

can't see it in the GUI too.

![confluence-page-comment.png](/t5/image/serverpage/image-id/5145i6219645D612DB102/image-size/large?v=v2&px=999 "confluence-page-comment.png")


Answers:
author: Ran
body: History comment can be added via REST API by sending:

PUT /wiki/rest/api/content/{content_id}

```
{
 "id": "content_id",
 "title": "Page title",
 "space": {"key": "SPACEKEY"},
 "type": "page",
 "body": {
 "storage": {
 "value": "Page body",
 "representation": "storage"
 }
 },
 "version": {
 "message": "version comment",
 "number": 2
 }
}
```

Or on the UI when saving the page

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/5170i4A31AE9F5436F68A/image-size/large?v=v2&px=999 "image.png")

Once a version comment has been saved, it is not possible to change anymore.

comments: author: James Breslin
body: I cannot see this function?


author: Nivedita
body: Yes. I am also unable to view this feature.


author: Julian McEwen
body: also cannot find it


author: Peter_Millikin
body: ability to write comment when saving a page seems to have disappeared, anyone know how to get it back?


author: Doug Matthews
body: Also looking for UI comment feature and can't find it!


author: Marian.Dub
body: The comments feature in version control has been removed in the new editor.

If you want it back, please vote here:  
<https://jira.atlassian.com/browse/CONFCLOUD-65695>


author: Mick Bass
body: For those trying to find this functionality in Atlassian Cloud circa January 2021 - to the right of "Publish" while editing the page, choose the three horizontal dots, then "Publish with version comment".  

![Screen Shot 2021-01-29 at 5.55.22 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/128129i2562E4C072CFEBEF/image-size/large?v=v2&px=999 "Screen Shot 2021-01-29 at 5.55.22 PM.png")


author: Poat
body: this option doesn't exist for initial publish


author: amiram.fuerst
body: Hi,

Is there any way to enforce filling comment whenever we want to update a page version?

This will prevent the need for adding comments for previous versions of a page

comments: author: Andre Bal
body: I would like to bump this.


author: Gord Anderson
body: I would also like this ability.


author: HuyNK
body: How to show it in the GUI? Or what kind of pages would have that "What did you change?" box enabled in GUI?

comments: author: Doug Matthews
body: Also looking for this functionality!


author: Mei Lee Fung
body: Me too! where did it go?


author: Peter Saro
body: Seems like it is only in Old editor but not in a new one.


author: Ma?t? Puig
body: Do you now when a new release will have the fix so that we can add the comment when publishing a new version ? Having history without the comment is hard to use ! HELP !


author: Marian.Dub
body: The comments feature in version control has been removed in the new editor.

If you want it back, please vote here:  
<https://jira.atlassian.com/browse/CONFCLOUD-65695>


author: Helen Hong
body: Can we please add this back on? its so terrible navigating through all the changes


author: Fabian Hu?l
body: Hi,

is there a possibility to update a page with REST to generate a new version while keeping the whole page content.

I've noticed that no new version is created unless the title or content changes.  
I want to create a new page version triggered by the click on a checkbox, but keep the complete content. I just want to set a version message.

On the UI, when saving the page, this is possible.

Cheers,  
Fabian