Ability to sort/order code insight reports

XMLWordPrintable

    • 1

      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.

            Assignee:
            Unassigned
            Reporter:
            Mark C
            Votes:
            17 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: