public interface

TimeTrackingConfiguration

com.atlassian.jira.bc.issue.worklog.TimeTrackingConfiguration
Known Indirect Subclasses

Summary

Nested Classes
enum TimeTrackingConfiguration.Mode Describes the modes of operation for Time Tracking in JIRA. 
class TimeTrackingConfiguration.PropertiesAdaptor Implementation that is registered with PICO. 
enum TimeTrackingConfiguration.TimeFormat  
Public Methods
boolean copyCommentToWorkDescriptionOnTransition()
Should the comment entered on a transition screen be copied to the work description when logging work?
boolean enabled()
Is time tracking enabled?
BigDecimal getDaysPerWeek()
Get the currently configured number of days in a week.
DateUtils.Duration getDefaultUnit()
Get the currently configured default duration to use when parsing duration string for time tracking.
BigDecimal getHoursPerDay()
Get the currently configured number of hours in a day.
TimeTrackingConfiguration.Mode getMode()
TimeTrackingConfiguration.TimeFormat getTimeFormat()
Get the configured format in which the time will be printed.

Public Methods

public boolean copyCommentToWorkDescriptionOnTransition ()

Should the comment entered on a transition screen be copied to the work description when logging work?

Returns
  • true or false

public boolean enabled ()

Is time tracking enabled?

Returns
  • true if time tracking is enabled

public BigDecimal getDaysPerWeek ()

Get the currently configured number of days in a week. Because this can be a non-integral number we return a BigDecimal

Returns
  • the number of days in a working week

public DateUtils.Duration getDefaultUnit ()

Get the currently configured default duration to use when parsing duration string for time tracking. (i.e. does "3" mean three minutes or three hours or three days)

Returns
  • default duration

public BigDecimal getHoursPerDay ()

Get the currently configured number of hours in a day. Because this can be a non-integral number we return a BigDecimal.

Returns
  • the number of hours in a working day

public TimeTrackingConfiguration.Mode getMode ()

Returns
  • the current mode of operation

public TimeTrackingConfiguration.TimeFormat getTimeFormat ()

Get the configured format in which the time will be printed.