Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-83171

Comment restriction for team-managed projects

XMLWordPrintable

    • 4
    • 19
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem

      Comment restriction was added to the new issue view, but it didn't include team-managed (formerly next-gen) projects, so currently, the comments are visible to anyone that has access to the project.

      Suggestion

      Add the comment restriction feature to team-managed (formerly next-gen) projects.

      Workaround

      The comment visibility can be set from the search results in the Issue Navigator (List view).

      1. Search for issues in the Issue Navigator
      2. Switch to List view
      3. In the list view, you can choose to add comment and perform other actions on individual issues without opening them
      4. Add comment and notice you'll have an option to restrict the visibility

      Note: Once the comment visibility is set it can't be edited from the issue view.

      Comment visibility can be removed using the Update comment REST API call:

      curl --request PUT \
        --url 'https://your-domain.atlassian.net/rest/api/2/issue/{issueIdOrKey}/comment/{id}' \
        --user 'email@example.com:<api_token>' \
        --header 'Accept: application/json' \
        --header 'Content-Type: application/json' \
        --data '{
        "body": "Remove comment visibility restriction.",
        "visibility": null
      }'
      

        1. classic.png
          65 kB
          Angélica Luz
        2. next-gen.png
          46 kB
          Angélica Luz

              Unassigned Unassigned
              adaluz Angélica Luz
              Votes:
              111 Vote for this issue
              Watchers:
              59 Start watching this issue

                Created:
                Updated: