Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-22301

Ability to sort/order code insight reports

    XMLWordPrintable

Details

    • 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.

    Description

      Currently, there's no way to sort/order code insight reports by summary or any other columns making it hard to read security scan reports. By default, the reports are sorted with "sort: -severity".

      Feature request:
      It would be useful to have the ability to sort/order code insight reports by summary or any other columns. along with this, provide an option to display annotations in the same order as they were posted using the API.

      Workaround:
      As a workaround, you can sort the annotations via the API endpoint below:

      curl -u bbusername:app_pasword "https://api.bitbucket.org/2.0/repositories/workspace_id/repo_name/commit/COMMIT_HASH/reports/REPORT_ID/annotations?sort=summary"
      

      API reference: https://developer.atlassian.com/cloud/bitbucket/rest/api-group-reports/#api-repositories-workspace-repo-slug-commit-commit-reports-reportid-annotations-get

      Or annotations are displayed in the same order as they were posted using the API if no sort is applied.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mcerezo Mark C
            Votes:
            15 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: