Search history of sonar issues based on tag using api

Sonarqube version 7.9.5
I have been trying to get the issue history for a particular tag using sonar api. Is there any way to do it.

Hi,

Welcome to the community!

When you say “issue history”, what exactly are you looking for? What the API returns is the issues currently in the database. So if you’re looking for issues with a foo tag, you’ll get all the currently-open issues with that tag. You can query for Closed issues if you like, but be aware that they’re cleaned out of the DB after 30 days.

 
HTH,
Ann