How to get newly scanned issues from plugin


We are trying to develop a plugin which will submit issues to JIRA after each sonar scan finished (for each sonar issue, there will be one corresponding issue in JIRA).

Is there a way to get the list of new issues during the current scan (maybe in PostProjectAnalysisTask).

Thanks in advance