Getting issues from specific branch through api

web_api
branches
sonarqube

(vicky) #1

Hi,

I am trying to

get all the issues with respect to specific branch only

(not issues from master and other branchs) and when i am calling the api ( http://localhost:9000/api/issues/search?branch=dev&id=typescript%3Atypescript&resolved=false) it is giving the issues from master branch as well and that’s weird as i have already specified search?branch=dev.
Can anyone help please?
Thanks in advance!


(vicky) #2

Hi,

It seems like i was passing the parameters in wrong way but while trying this way i got the issues and it might help someone so here is the link http://localhost:9000/api/issues/search?componentKeys=typescript:typescript&resolved=false&branch=dev.