REST API endpoints return wrong color names for statuses

XMLWordPrintable

    • 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.

              Assignee:
              Unassigned
              Reporter:
              Rodrigo Morette
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: