After you have installed Trouble Ticket System plugin, you have a set of custom fields, validators and post functions you need to configure. You don't need to use them all and you don't have to use the same field name or description as in examples below.

Custom fields

JIRA has a default selection of field types (e.q. text, dropdown menu) to choose from. Customd field types extend JIRA's functionality. Custom fields types are needed when you want to perform complex validations or create fields that use external information sources.

Custom fields are used the same way as JIRA default fields. You can add them in transition screens and make them visible for only some of the issue types.

Custom fields in JIRA documentation

Multiple outages

Field takes start and end times in UTC format. It doesn't accept overlapping values. Description is optional.

tts_jira_outage.png

History based action update

Field shows in UI as a normal text field. After saving previous values are printed above the field and they are not editable.

tts_history_field.png

Total outage calculation

Total outage is automatically calculated after the ticket is saved.

Calculation is done with a custom post function.

tts_outage_calc.png

Calculated outage is filled in uneditable text field Total outage.
See also: Validators

Scope Selection

New text field appears when value "other" is chosen for scope.

Related tickets

When ticket is saved custom field related tickets searches for tickets that have same value(s) in the selected fields. You can set a weight for each field in field options. Example:

Related tickets also weights the issues by time. Example:

Related tickets is placed on tab Knowledge management.

related_tickets.png

Problem start / end with outages

This set off custom fields needs:

Validators

Post functions