I have a requirement to fetch the projectkeys which has tag = “xxx”.
can anyone please help me the code/webapi how to achieve this.
After i receive multiple projects how to loop through the each project.
Currently we are using Community EditionVersion 8.5.
Thanks in advance.
Welcome to the community!
Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:
8.5 → 8.9.9 → 9.6 (last step optional)
You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.
Once you’ve upgraded, try retrieving the data via the UI. The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.
You may also find this guide helpful.
Sure. Thanks for quick reply and will do upgrade as you suggested.
Now currently i have one issue:-
I’m reading sonar scan project metrics by using webapi and i’m sending email to know the status of each project scan status.
Here i’m facing for few projects “metricKey”:“security_hotspots_reviewed” is not able to read the status.
Can you please suggest me api to read all the metric keys irrespective of pass/ fail all projects.
Let’s take this up in a new thread once you’ve upgraded.