Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The SQL for JIRA Progress Custom Field is a convenient way to show percentage values as well as a label beside the bar.

...

  • Value: a decimal number between 0 and 1. It represents the progress.
  • Label: A free text shown on the right of the bar
  • Fill: The colors representing the progress.

Example:

select '33.3%' as "label", 0.333 as "value", '{gradient:["green", "yellow", "red"]}' as fill

from issues i where i.key=?

 

The fill column is quite customizable with solid colors as well as gradients. Examples:

...

We open the SQL for JIRA Driver console and build our sql:


Section


Column
width50%45%


Column
width50%45%



We get the following sql:

...

Obtaining the sql, we created a custom field of type SQL for JIRA Progress and we insert our sql in the description of the custom field:

Section


Column
width40%45%

Image RemovedImage Added


Column
width40%45%