public class

DeveloperWorkloadReport

extends AbstractReport
java.lang.Object
   ↳ com.atlassian.jira.plugin.report.impl.AbstractReport
     ↳ com.atlassian.jira.plugin.report.impl.DeveloperWorkloadReport

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.plugin.report.impl.AbstractReport
Public Constructors
DeveloperWorkloadReport(ProjectManager projectManager, ApplicationProperties applicationProperties, UserManager userManager, JiraDurationUtils jiraDurationUtils, SearchProvider searchProvider, ReportSubTaskFetcher reportSubTaskFetcher)
Public Methods
String formatPrettyDuration(Number v)
this formatting function is shared by the full view for navigator as well as view issue.
String generateReportHtml(ProjectActionSupport action, Map reqParams)
String getProjectName(Long projectId)
Long getTotalIssuesCount(Map<LongAbstractReport.MutableLong> countMap)
Long getTotalWorkload(Map<LongAbstractReport.MutableLong> workloadMap)
boolean showReport()
Whether or not to show this report in the interface.
void validate(ProjectActionSupport action, Map params)
Validate the parameters passed to this report from the UI.
[Expand]
Inherited Methods
From class com.atlassian.jira.plugin.report.impl.AbstractReport
From class java.lang.Object
From interface com.atlassian.jira.plugin.report.Report

Public Constructors

public DeveloperWorkloadReport (ProjectManager projectManager, ApplicationProperties applicationProperties, UserManager userManager, JiraDurationUtils jiraDurationUtils, SearchProvider searchProvider, ReportSubTaskFetcher reportSubTaskFetcher)

Public Methods

public String formatPrettyDuration (Number v)

this formatting function is shared by the full view for navigator as well as view issue.

Parameters
v duration in seconds
Returns
  • formatted duration

public String generateReportHtml (ProjectActionSupport action, Map reqParams)

Throws
Exception

public String getProjectName (Long projectId)

public Long getTotalIssuesCount (Map<LongAbstractReport.MutableLong> countMap)

public Long getTotalWorkload (Map<LongAbstractReport.MutableLong> workloadMap)

public boolean showReport ()

Whether or not to show this report in the interface. The default is "true".

public void validate (ProjectActionSupport action, Map params)

Validate the parameters passed to this report from the UI.

Any errors should be added to the action errors.