Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-38891

Allow deletion of resolved comments

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • None
    • 1
    • 3
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      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:

      Page ID is 123456
      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.

      Attachments

        1. reopened comment.JPG
          reopened comment.JPG
          18 kB
        2. resolved comment.JPG
          resolved comment.JPG
          17 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              68877acca947 Wendy Fergusson
              Votes:
              45 Vote for this issue
              Watchers:
              33 Start watching this issue

              Dates

                Created:
                Updated: