• 7
    • 22
    • 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
          classic.png
          65 kB
        2. next-gen.png
          next-gen.png
          46 kB

            [JRACLOUD-83171] Comment restriction for team-managed projects

            SET Analytics Bot made changes -
            UIS Original: 8 New: 7
            SET Analytics Bot made changes -
            UIS Original: 6 New: 8
            SET Analytics Bot made changes -
            Support reference count Original: 20 New: 22
            SET Analytics Bot made changes -
            Support reference count Original: 19 New: 20
            SET Analytics Bot made changes -
            UIS Original: 4 New: 6
            Kamila Czubaj made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 984903 ]
            SET Analytics Bot made changes -
            UIS Original: 3 New: 4
            SET Analytics Bot made changes -
            Support reference count Original: 18 New: 19
            Micah B. made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 976310 ]
            Tulsi made changes -
            Description Original: h3. *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.
            h3. *Suggestion*

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

            h3. Workaround

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

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

            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|https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-comments/#api-rest-api-2-issue-issueidorkey-comment-id-put] call:


            {code:java}
            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
            }'
            {code}
            New: h3. *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.
            h3. *Suggestion*

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

            The comment visibility can be set from the search results in the Issue Navigator (List view).
             # Search for issues in the Issue Navigator
             # Switch to List view
             # In the list view, you can choose to add comment and perform other actions on individual issues without opening them
             # 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|https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-comments/#api-rest-api-2-issue-issueidorkey-comment-id-put] call:
            {code:java}
            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
            }'
            {code}

              Unassigned Unassigned
              adaluz Angélica Luz
              Votes:
              112 Vote for this issue
              Watchers:
              60 Start watching this issue

                Created:
                Updated: