-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
Component/s: Administration - Workflows and Statuses
-
Severity 3 - Minor
REST API endpoints return wrong color names for statuses.
For instance, this endpoint GET /rest/api/3/statuscategory
For "In progress" the returned color is "yellow", but in the browser, it is blue.
Example from a test instance:

API response from /rest/api/3/statuscategory:
{
"id": 4,
"key": "indeterminate",
"colorName": "yellow",
"name": "In Progress"
},
Additionally, the API is returning some colors that seems to be undocumented on https://atlassian.design/foundations/color
For example:
{
"id": 2,
"key": "new",
"colorName": "blue-gray",
"name": "To Do"
},
Looks like the "blue-gray" color is not documented, would be interesting to use the documented standard ADS colors.