I am doing an api call for fetching issues in sonarqube. I want the api to fetch both branch issues and pull request issues in format like below. But this isn’t working and PR issues are not getting fetched.
Could someone help me with this? I want to include or condition to check whether branch is master or pull request is 47507 and severity type to be major.
url/api/issues/search?pageSize=500&componentKeys=projectkey& branch=master&pullRequest=47507&severities=MAJOR