Search issues on branch for bulk update


(Pavan Krishna) #1

Must-share information:

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    sonarqube version 7.1
  • what are you trying to achieve
    We setup our project on sonarqube with few release branches and we want to disable all existing issues on all branches. The search api (api/issues/search) is only returning issues from master but not from branches. How can i query issues from branches and bulk update them?
  • what have you tried so far to achieve this
    I tried adding branch parameter and it didnt work

(Nicolas Bontoux) #2

Hi there,

Good related thread here:

All in all branch parameter should definitely do the trick. Poke a bit more with it (maybe on basic examples first), and then if any problem then make sure to describe what’s not working in more details (examples, URL called, output etc.).