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
calculatorFactory
Fields inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl
applicationProperties, templatingEngine
Fields inherited from class com.atlassian.jira.issue.fields.AbstractField
authenticationContext
Fields 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, getSorter
Methods inherited from class com.atlassian.jira.issue.fields.AbstractDurationSystemField
getColumnViewHtml, getFieldTypeInfo, getJsonFromIssue, getJsonSchema, getRepresentationFromIssue, prettyPrintChangeHistory, prettyPrintChangeHistory
Methods inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl
getApplicationProperties, getColumnCssClass, getColumnHeadingKey, getDefaultSortOrder, getHiddenFieldId, getSortComparatorSource, getSortFields, getVelocityParams, renderTemplate
Methods inherited from class com.atlassian.jira.issue.fields.AbstractField
compareTo, equals, getAuthenticationContext, getId, getName, getNameKey, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.atlassian.jira.issue.fields.Field
getId, getName, getNameKey
Methods inherited from interface com.atlassian.jira.issue.fields.NavigableField
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:
getAggregateDuration
in classAbstractAggregateDurationSystemField
- Parameters:
bean
- bean to get the aggregate duration from- Returns:
- aggregate duration
-