I am trying to query a job’s reports in an event plugin. The plugin triggers when a job completes.
# Get job reports
reports = JobReportCollection.GetAllReports()
print reports
However, I keep getting this error message:
[code]=======================================================
Error
Event Error (OnJobFinished): TypeError : not enough arguments[/code]
Does GetAllReports actually requires a job id or some other argument? According to the scripting reference, it does not.