Class SmartTimetrackingBean
java.lang.Object
com.codebarrel.jira.model.issue.TimetrackingBean
com.codebarrel.automation.rulecomponent.jira.common.smartbeans.SmartTimetrackingBean
- All Implemented Interfaces:
SmartBean<TimetrackingBean>
AUT-627: Jira's timetracking field requires that the data is provided in the english input format. However
if users change their locale and timetracking settings, Jira will render the duration with other locale specific
time indicators (e.g. 't' instead of 'd' to indicate days in German) and commas instead of dots for decimal points.
This smart bean ensures that {{issue.timetracking.originalEstimate}} etc render the default English duration representation taking Jira's timetracking settings into account, that can then be used as the input for the field.
-
Field Summary
Fields inherited from class com.codebarrel.jira.model.issue.TimetrackingBean
originalEstimate, originalEstimateSeconds, remainingEstimate, remainingEstimateSeconds, timeSpent, timeSpentSeconds -
Method Summary
Methods inherited from class com.codebarrel.jira.model.issue.TimetrackingBean
getOriginalEstimateSeconds, getRemainingEstimateSeconds, getTimeSpentSeconds
-
Method Details
-
getSource
Description copied from interface:SmartBeanReturns the wrapped bean for this smart bean. Mainly used for JSON deserialization, since smart beans should never be serialized directly.- Specified by:
getSourcein interfaceSmartBean<TimetrackingBean>
-
getOriginalEstimate
- Overrides:
getOriginalEstimatein classTimetrackingBean
-
getRemainingEstimate
- Overrides:
getRemainingEstimatein classTimetrackingBean
-
getTimeSpent
- Overrides:
getTimeSpentin classTimetrackingBean
-
getOriginalEstimateRendered
-
getRemainingEstimateRendered
-
getTimeSpentRendered
-
toString
- Overrides:
toStringin classTimetrackingBean
-