Live Fields for Tempo
Starting with version 4.8.0.8 Power Scripts and version 4.8.0.6 of SIL Tempo, Live Fields is also partially available for Tempo, in 3 dialogs: the Log Time, Plan Time and Add Expense.
Supported Tempo screens
For the 3 supported Tempo dialogs, Live Fields' argv["screen"] can either return "tempo-log-time", "tempo-plan-time" or "tempo-add-expense" accordingly.
Configuration
When configuring Live Fields for Tempo, please use the Jira Core application environment.
Supported Tempo fields
Field naming
Standard field names, Custom Field names and sil.aliases take precedence over Tempo Field names. That means if you named your Tempo field as one of the mentioned, your field will not be used by Live Fields, and you might get unwanted behavior for the other detected field.
Duplicate tempo field names
Tempo allows multiple custom defined fields with the same name. Only the first found such field will be considered.
Fields appearing later on screen
Some of the Tempo fields (like tempoFrom, tempoTo and the custom work attributes) may appear in the dialog dynamically, after the dialog appears. Usually this is not observable by the human eye, since it happens fast. However, if one has a Live Field action set for lfInstantHook, one should be aware that it might not get applied on the specified field (since it doesn't exist yet).
The following table contains the standard Tempo fields supported in the 3 dialogs:
Field | Screen/s (dialog/s) | Usage | Supported routines and operations |
---|---|---|---|
Issue | Log Time, Plan Time, Add Expense | tempoIssue | argv["tempoIssue"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage |
User | Add Expense | tempoUser | argv["tempoUser"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage |
Description | Log Time, Plan Time, Add Expense | tempoDescription | argv["tempoDescription"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage, lfWatch |
Period | Log Time, Plan Time | tempoPeriod | argv["tempoPeriod"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage, lfWatch |
Date | Log Time, Plan Time, Add Expense | tempoStartDate | argv["tempoStartDate"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage, lfWatch |
End date | Log Time, Plan Time | tempoEndDate | argv["tempoEndDate"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage, lfWatch |
Worked | Log Time | tempoWorked | argv["tempoWorked"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage, lfWatch |
Billable | Log Time | tempoBillable | argv["tempoBillable"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage, lfWatch |
Remaining estimate | Log Time | tempoRemainingEstimate | argv["tempoRemainingEstimate"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage, lfWatch |
From | Log Time, Plan Time | tempoFrom | argv["tempoFrom"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage, lfWatch |
To | Log Time, Plan Time | tempoTo | argv["tempoTo"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage, lfWatch |
Planned time | Plan Time | tempoPlannedTime | argv["tempoPlannedTime"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage, lfWatch |
Amount | Add Expense | tempoAmount | argv["tempoAmount"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage, lfWatch |
Category | Add Expense | tempoCategory | argv["tempoCategory"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage |
The following table contains the non-standard Tempo fields supported in the Log Time screen (dialog); these fields are also called Work Attributes:
Field type | Supported routines and operations |
---|---|
Checkbox | argv["My Checkbox Field"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage, lfWatch |
Input Field | argv["My Input Field"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage, lfWatch |
Numeric Input Field | argv["My Numeric Input Field"], , lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage, lfWatch |
Static List | argv["My Static List Field"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage |
Dynamic Dropdown | argv["My Dynamic Dropdown Field"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage |
Account | argv["My Account Field"], lfShow, lfHide, lfEnable, lfDisable, lfShowFieldMessage, lfHideFieldMessage |