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

Create api/issues/prepare_bulk_change

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Issues, Web API
    • Labels:

      Description

      The goal of this WS is to return data that will be displayed in the bulk change form (was done previously in rail in views/issues/_bulk_change_form.html.erb).
      As it's purely ui oriented, it should be a private WS.

      The parameters should be exactly the same as ones defined in api/issues/search WS (expect pagination that should be set to the max values, 500). The only required permission is to be authenticated.

      The result could looks like :

        "total" : 120, -- Total number of issues from the search (can be above 500)
        "current" : 120, -- Number of issues that will be currently updated (500 is the max)
        "actions" : { -- List only available actions
          "assign" : 120,
          "set_severity" : 120,
          "set_type" : 120,
        },
        "transitions" : { -- List only available transitions
          "confirm": 50,
          "unconfirm": 20,
          "falsepositive": 30 
        },
        "issues": [...] -- List of issue keys
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: