Issue for each date

Is there a way I can get issues date wise ?

Hi @Bhuvaneshwari_Kannan,

Welcome to SonarSource community! :wave:

You can get issues sorted by Creation Date (date of code committed if SCM data is enabled for the project scans):

(see left hand side for “Creation Date”)

If that does not suffice, please consider usage of the Web API (see footer link at the bottom of every SonarQube page or go to the :question: icon next to the search box in the top right hand corner and click on it to get to Web API documentation). You can try using these endpoints (click on “Show internal API” endpoints for more endpoints, these are subject to change more so than the non-internal API endpoints):

  • GET api/issues/changelog (Display changelog of an issue.)
  • GET api/issues/search (you can search by createdAfter, createdAt, createdBefore, createdInLast, facets=createdAt

Those should help you. What kind of date did you need?

Joe

Hello joe ,

Thanks . Is there a way I can get issue count for each day ? Like a history view. ?

Yes there is. Please see my screenshot in my earlier post. There are date fields you can pick from and you can click on the blue rectangle to “zoom” in on a date span. Each time you click on the blue rectangle it will zoom in from year to month to week to day.

If you need to customize further, use the web API. Here’s another way to search for it using combination of createdAfter and createdBefore:

api/issues/search?s=FILE_LINE&createdAfter=2011-06-21&createdBefore=2011-06-21&resolved=false&ps=100&facets=severities,types,createdAt&additionalFields=_all&timeZone=America/Chicago

1 Like

Thanks a lot . This helps

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.