Skip to main content
Version: Next

Percentage Custom Field

The Percentage Field custom field stores a value between 0 and 100 and renders it as a horizontal progress bar with colour bands (red / yellow / green) defined per field context.

It fits use cases such as showing the progress of a task, the compliance level against an objective, the adoption of an initiative, test coverage, etc.: any "0 to 100" indicator where the team needs to see at a glance whether the value sits below, within, or above the desirable level.

Create the Percentage field​

  1. In Jira, click the Settings (gear) icon in the top-right corner.

  2. Select Issues.

  3. In the left sidebar, under Fields, click Custom fields.

  4. Click Create custom field in the top-right corner.

  5. On the "Select a field type" screen, find and pick Percentage Field. Click Next.

    πŸ’‘ You'll recognize it by its description: "Numeric field between 0 and 100, rendered as a horizontal progress bar with a colored status indicator."

    Selecting the Percentage Field type in Jira Cloud

  6. Name and description:

    • Enter a Name (e.g. "Progress", "Test coverage", "Compliance").
    • Add an optional Description.
  7. Click Create.

  8. Associate to screens: Pick the relevant screens and click Update.

The field is now available. If no thresholds are configured for the context, the bar uses sensible defaults: red < 40, yellow 40–69, green β‰₯ 70.

Configure the colour thresholds per context​

Percentage Field thresholds are tied to the field context, so you can define different bands per project or issue type.

Threshold model​

Each context takes two numeric values in the 0–100 range:

  • At-risk from β€” Starting at this value, amounts render in yellow. Below it they render in red.
  • On-track from β€” Starting at this value, amounts render in green.

The rule is:

Issue valueBar colour
value < At-risk fromπŸ”΄ Red
At-risk from ≀ value < On-track from🟑 Yellow
value β‰₯ On-track from🟒 Green

Invariant​

The editor enforces At-risk from < On-track from. If you enter values that don't respect this relation, the form refuses to save.

Steps to configure thresholds​

  1. Go to Settings β†’ Issues β†’ Custom fields.

  2. Find the Percentage field you created and click the actions menu (β‹―) β†’ Contexts and default value.

  3. On the field contexts page, open the context you want to configure.

  4. Inside the context you'll see a section provided by Admin Essentials called Percentage colour thresholds.

  5. Complete the form:

    • At-risk from: e.g. 40.
    • On-track from: e.g. 70.
  6. Click Save.

    Percentage Field colour-threshold configuration per context

After saving, issues in that context will start rendering the bar with the matching colours.

Example: test coverage per project​

Imagine a platform team measuring test coverage across services, where:

  • Below 60 is considered insufficient (red).
  • Between 60 and 80 is acceptable (yellow).
  • From 80 upwards is healthy (green).

Context configuration:

  • At-risk from: 60
  • On-track from: 80

A different team can use stricter thresholds (At-risk from: 70, On-track from: 90) without duplicating the field β€” just define different thresholds on their own context.

Possible validation errors​

The editor validates input and shows specific messages when:

  • Any of the fields is empty β†’ "This field is required."
  • The entered value is not a valid number β†’ "Please enter a valid number."
  • The value falls outside 0–100 β†’ "Value must be between 0 and 100."
  • At-risk from is greater than or equal to On-track from β†’ "At-risk threshold must be strictly less than the on-track threshold."

Entry on the create screen​

In the Create issue dialog, the field appears as a numeric input. Validation on entry only accepts values in the 0–100 range. If the user tries to save an out-of-range value, Jira shows "Value must be between 0 and 100." and blocks the save.

Percentage field on the issue-create dialog

Rendering on the issue view​

On the issue view, the value is rendered as a horizontal progress bar that fills proportionally to the value (0% to 100%). The bar colour reflects the active band according to the context's thresholds.

Percentage Field rendered as a progress bar on the issue view

The indicator is accessible: it includes role="progressbar" and an aria-label with the current percentage, so screen readers can convey the information correctly.

Search and JQL support​

The field is registered with type: number, which enables JQL's standard numeric operators:

OperatorSupportedExample
= / !=βœ…"Progress" = 100
< / <= / > / >=βœ…"Progress" >= 70
is EMPTY / is not EMPTYβœ…"Progress" is not EMPTY
in / not inβœ…"Progress" in (50, 75, 100)
JQL operates on the value, not the colour

JQL compares the stored numeric value. To list "all issues in red in this project", combine the query with the same thresholds the context uses: "Progress" < 40 (with the default configuration).