Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Traffic Lights Configuration

Traffic Light field values are configured on the field configuration page. Go to Settings → Issues → Custom Fields. Find your custom field and navigate to the configuration page through a 3-dot menu of a STAGIL Traffic Light Custom Field → select Contexts and default values → Edit custom field configuration.

image-20240422-184038.pngImage Removedimage-20240422-184038.pngImage Added
  1. Lights: By default, Traffic Lights are named according to their position - Left, Middle and Right. The implied position is the one on the traffic lights scheme in issue view, in search table etc.

  2. Colour: you can use the ubiquitous combination of red, yellow and green or customize the colours by clicking on the colour box.

  3. Name: values can be assigned to each light to simplify light management from the issue view screen or during a search.

How many traffic light options can be configured for 1 field?

Users can configure as many traffic light options as needed. In the issue view, the field will still show 3 lights, but the users will see more options in the option select dialogue.

Traffic Lights field in issue view

The configuration screenshot above showcased a Traffic Light field that represents the timeline range of an issue. Let's see what it will look like in an issue view when:

a) displayed in the Description fields tab

Image RemovedImage Added

b) displayed as part of Context fields in the Details tab

Image RemovedImage Added
Panel
panelIconIdatlassian-check_mark
panelIcon:check_mark:
panelIconText:check_mark:
bgColor#E3FCEF

Traffic Light fields are also supported in Confluence default macros.

Editing Traffic Lights fields

To change the lights in the issue view, click on the field. Select the necessary option and click Save.

image-20240422-185342.pngImage Removedimage-20240422-185342.pngImage Added

Default values

Default values are currently defined as a JSON object.

Use the following format:

Code Block
{"light":"Right","name":"Scheduled"}

Find values for “light” and “name” here https://stagil.atlassian.net/wiki/spaces/STLJC/pages/2080604161/Field+values#Traffic-Lights-Configuration.