Unable to see board colors due to "500 Internal Server Error"

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

When card color is chosen from board setting, we observe error as "500 Internal Server Error".

Environment

Jira Cloud

Jira Data Center

Diagnosis

  • Access any of the projects

  • Click on board settings -> card colors

  • Choose Priorities

  • Error observed as "Internal Server Error"

  • For other options within the card colors the error does not occur.

Console log :

1 Failed to load resource: the server responded with a status of 500 ()

Splunk log:

1 2 3 4 5 6 7 8 9 10 message: [Limited to 100 per PT1M] c: Fetch call failed with status code: 500    micros_container: jira    pid: 63    product: jira    thread: http-nio-8090-exec-89    time: 2020-11-24T17:04:39.832353054Z    timestamp: 2020-11-24T17:04:39,832Z Caused by: java.lang.NumberFormatException: For input string: "Green" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)

HAR :

1 {"errorMessages":["Internal server error"],"errors":{}}

Jira Data Center logs:

atlassian-greenhopper.log :

1 2 3 4 5 6 7 8 /rest/greenhopper/1.0/cardcolors/864/strategy/priority [web.rapid.view.CardColorResource] Unable to complete GreenHopper REST method java.lang.NumberFormatException: For input string: "null" at java.lang.NumberFormatException.forInputString(Unknown Source) ~[?:?] at java.lang.Integer.parseInt(Unknown Source) ~[?:?] at java.lang.Integer.valueOf(Unknown Source) ~[?:?] at java.lang.Integer.decode(Unknown Source) ~[?:?] at java.awt.Color.decode(Unknown Source) ~[?:?] ...

atlassian-jira.log :

1 2 3 4 5 6 7 8 /rest/greenhopper/1.0/cardcolors/864/strategy/priority [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: For input string: "null"java.lang.NumberFormatException: For input string: "null" at java.base/java.lang.NumberFormatException.forInputString(Unknown Source) at java.base/java.lang.Integer.parseInt(Unknown Source) at java.base/java.lang.Integer.valueOf(Unknown Source) at java.base/java.lang.Integer.decode(Unknown Source) at java.desktop/java.awt.Color.decode(Unknown Source) at com.atlassian.greenhopper.service.rapid.view.color.CardColorPalette.getDefaultColorForPriority(CardColorPalette.java:99) ...

Cause

The value of the priority color in the Jira settings → Issues → Priorities → Edit (on each priority) you will see an invalid entry or a text entry of the color.

Solution

  1. Verify the Priority that has a colour name instead of a hex value.

  2. Replace it with corresponding hex value #008000 fix the issue. Corresponding Hex value here refers to the Hex value for each colors. For example : Green color's hex value is #008000

Updated on April 11, 2025

Still need help?

The Atlassian Community is here for you.