Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-3499

Ability to easily classify issues by tags and to get the distribution of issues by tag



    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1
    • Component/s: Issues
    • Labels:


      The purpose is to allow users to tag issues on their project in order to classify them.

      Use cases to cover:

      • As soon as a project is analyzed, I want to be able to see the distribution of its issues per rule tag and be able to filter on those tags to dig more
      • On an issue, I want to be able to add more tags or remove some to classify it
        • I expect SQ to suggest me existing tags as I type/search the tag that I want to enter
        • I don't want SQ to suggest me tags that are not linked to any issue
        • If the tag I want to set does not exist, SQ should accept it (and suggest it to me later on)
        • I want to be able to remove the tags originating from rules if I want to
      • I want to be able to bulk add/remove tags on a bunch of issues
        • When adding: if some of the issues already have the tag(s), obviously the tag(s) shouldn't be added twice
      • I want to know who classified an issue with some tags and when
      • I want to be able to see the distribution of issues per tag on my dashboards
        • This will be covered by another more generic ticket (SONAR-5726)

      Some notes:

      • These actions will require the same permission as for commenting/resolving/... an issue
      • Upon creation, an issue automatically inherits tags defined on the rule that generated it
        • We do expect a migration to happen when migrating to version 5.1 to re-index all issues with relating rule tags
      • If the corresponding rule gets some modification on its tags, it won't be updated on the existing issues
        • This can be seen as a limitation but we accept it for this first version in order to keep things simple
      • In the Issues page, we should have a "More" link on the Tags facet in order to be able to see more than 5 tags if we want to (SONAR-5750)
        • This mechanism could be applied to other facets too


          Issue Links



              jb.lievremont OLD - Jean-Baptiste Lièvremont (Inactive)
              freddy.mallet Freddy Mallet (Inactive)
              16 Vote for this issue
              12 Start watching this issue