-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
9
-
3
-
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
Resolved inline comments cannot be deleted. You have to reopen (unresolve) the comment and then delete. There should be a "Delete" link in the Resolved Comments window so you can delete without having to reopen first.
To reproduce:
- add an inline comment to a page
- resolve the comment
- view the resolved comment via the page more actions menu - there is no way to delete it but there should be
- reopen the resolved comment
- now you can delete it via the inline comment more actions menu
Workaround
To delete inline comments that were automatically resolved when the highlighted text was deleted on the page, you can issue a DELETE using the REST API. For example:
curl -u adminuser:password -X DELETE "BASEURL/rest/inlinecomments/1.0/comments/CONTENTID" | python2 -mjson.tool
You'll need admin credentials. Replace BASEURL and CONTENTID with the appropriate values. You can find the content ID of the inline comment through a browser network console or by issuing a database command. If you know the ID of a page, you can find its inline comments and their IDs with the following query:
select a.contentid as "comment ID", b.body as "comment body" from content a inner join bodycontent b on a.contentid = b.contentid inner join content c on a.contentid = c.pageid and c.contenttype = 'CUSTOM' where a.pageid = 123456 and a.contenttype = 'COMMENT';
Written for Postgres. You may have to alter it slightly.
- relates to
-
CONFSERVER-45678 Cannot reopen resolved comment when highlighted text that references the inline comment is deleted
-
- Closed
-
-
CONFCLOUD-38891 Allow deletion of resolved comments
- Gathering Interest
I have all permissions on the space but do not have the Delete option for my own inline comments, neither when viewing the page, nor when editing it. Behind the ... button, I only have Resolve and Edit.
I can however delete inline comments of other people and page comments.