Values configuration
Find the custom field you want to configure, click the 3 dot menu, → select Configure. Then select Edit STAGIL Traffic Lights (calculated) to open the following page:
Issue Source
Issue Source defines the issue scope to run the query through and validate the values for the Traffic Lights field:
Issue Source = Current Issue: used to run queries about the field values within the current issue.
Example:
🟥 IF the date in the Start Date field is occurring before today’s date, THEN the Traffic Light field red
🟨 IF the date in the Start Date field is occurring one day from now, THEN the Traffic Light field is yellow
🟩 IF the date in the Start Date field is occurring two weeks after today’s date, THEN the Traffic Light field is green
Issue Source = JQL. ‘JQL’ refers to an option to define a scope of issues via a JQL query and validate them through custom conditions. Consequently, the query results define the Traffic Lights values.
Example:
Issue scope: project = “Open Space Project” AND issuetype = “Story”
🟥 IF more than 1 issue within the scope is unassigned, THEN the Traffic Light field red
🟨 IF more than 1 issue within the scope is “Waiting for Approval”, THEN the Traffic Light field yellow
🟩 IF there is no issue in status category “In progress” or “To Do”, THEN the Traffic Light field green
Issue Source = Links of Current Issue. Select an issue link as a base for the JQL query.