Package com.atlassian.jira.issue.fields
Class AggregateTimeSpentSystemField
java.lang.Object
com.atlassian.jira.issue.fields.AbstractField
com.atlassian.jira.issue.fields.NavigableFieldImpl
com.atlassian.jira.issue.fields.AbstractDurationSystemField
com.atlassian.jira.issue.fields.AbstractAggregateDurationSystemField
com.atlassian.jira.issue.fields.AggregateTimeSpentSystemField
- All Implemented Interfaces:
ExportableSystemField,Field,NavigableField,RestAwareField,Comparable
System field that displays the calculated aggregate time spent. This adds all sub-tasks values to its
own values.
- Since:
- v3.11
-
Field Summary
Fields inherited from class com.atlassian.jira.issue.fields.AbstractAggregateDurationSystemField
calculatorFactoryFields inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl
applicationProperties, templatingEngineFields inherited from class com.atlassian.jira.issue.fields.AbstractField
authenticationContextFields inherited from interface com.atlassian.jira.issue.fields.NavigableField
ORDER_ASCENDING, ORDER_DESCENDING, TEMPLATE_DIRECTORY_PATH -
Constructor Summary
ConstructorsConstructorDescriptionAggregateTimeSpentSystemField(VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext, AggregateTimeTrackingCalculatorFactory calculatorFactory) -
Method Summary
Methods inherited from class com.atlassian.jira.issue.fields.AbstractAggregateDurationSystemField
getDuration, getValueLoaderMethods inherited from class com.atlassian.jira.issue.fields.AbstractDurationSystemField
getColumnViewHtml, getFieldTypeInfo, getJsonFromIssue, getJsonSchema, getRepresentationFromIssue, prettyPrintChangeHistory, prettyPrintChangeHistoryMethods inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl
getApplicationProperties, getColumnCssClass, getColumnHeadingKey, getDefaultSortOrder, getHiddenFieldId, getVelocityParams, renderTemplateMethods inherited from class com.atlassian.jira.issue.fields.AbstractField
compareTo, equals, getAuthenticationContext, getId, getName, getNameKey, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.atlassian.jira.issue.fields.Field
getId, getName, getNameKeyMethods inherited from interface com.atlassian.jira.issue.fields.NavigableField
getFieldSorts, hasSortsDefined, prettyPrintChangeHistory
-
Constructor Details
-
AggregateTimeSpentSystemField
public AggregateTimeSpentSystemField(VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext, AggregateTimeTrackingCalculatorFactory calculatorFactory)
-
-
Method Details
-
getAggregateDuration
Returns the time spent of the passed bean- Specified by:
getAggregateDurationin classAbstractAggregateDurationSystemField- Parameters:
bean- bean to get the aggregate duration from- Returns:
- aggregate duration
-