Get a list of projects with last Analysis date on 5.6 version

Hi,

We have a Sonar Qube server using 5.6.6 server. We are in the process of migrating it to 7.9

I am trying to get the list of projects along with Creation date using this API, /api/projects/provisioned?p=1&ps=500. I only see 32 projects though there are lot more projects on the server. Not sure what’s causing this to happen? Please help.

Thanks,
Vijay

Hi Vijay,

The web service you’re using will only give you a list of project that were provisioned server-side but not yet analyzed. Sorry, but I can’t tell you off-hand what web service you should be using.

 
Ann

Hi Ann,

Thanks for your response.

Could you please help me figure out the correct API as I could not find a relevant Project name API that returns analysis date and key (in older version). FYI - the only other API that has these attributes is ’ api/projects/ghosts’ and I don’t this is the correct one either.

Thanks,
Vijay

Hi,

I don’t think there is one that does that for multiple projects at once. You’re going to have to look at the project level, perhaps even at the analysis level.

 
Ann