...
- Value: a decimal number between 0 and 1. It represents the progress.
- Label: A free text shown on the right of the bar
- MinColorMinColour: Color para al valor for the value 0.MaxColor
- MaxColour: Color para al valor for the value 1.
Fill: The colors representing the progress.(Not valid since version 3.0.x)
...
SELECT '93.8%' as "label",
0.938 as "value",
'#FF0000' AS minColour,
'#00FF00' AS maxColour
from issues i
where i.key= '${key}'
The fill column is quite customizable with solid colors as well as gradients. Examples:
...
}
...
'
...
...
Default: { gradient: ["#3aeabb", "#fdd250"] }
(Not valid since version 3.0.x)
Example
Suppose our issues are divided into subtasks. This is common when our tasks require the completion of several processes to be able to solve them. We may need an analysis, testing, I+D ...
...
The first step is to get the query to get the parameters' label, 'value', 'minColor' and 'grillmaxColor' that our custom field needs, and for this we help from the add-on SQL for JIRA Driver.
...