The following macros are not currently supported in the header:
  • style

Get Issue Statuses

UNDER DEVELOPMENT

Returns an array of statuses of issues.

GET /issues/statuses

Parameters

Table of allowed parameters.

_pageunsigned intThe page of the list to display. For example, 5 will display the fifth page. Each page contains 10 resources.
_limitunsigned intThe maximum number of resources to return. Default is 10 and maximum is 50.
_offsetunsigned intThe position in the list of resources to return from. For example, if you had 20 resources and requested an offset of 10. Resources 10 to 19 would be returned. Offset cannot be used in conjunction with _page.
_fieldspartial stringAllows you to specify optional fields and linked objects to include in the response.

Handling the response

Below is a table of available response fields and objects that are returned within the response object of the returned object. The optional fields and objects can be requested in the _fields parameter; see included examples. Underlined values are default.

idunsigned intA unique id for the status
titlestringThe status title
parentunsigned intThe id of the parent status.
orderingintThe ordering number for the status
colorstringThe color of the status

Sample Response

GET /issues/statuses.json?_limit=2&_fields=ordering
{
    "meta": {
        "message": "Everything executed as expected.",
        "more_info": "https://affinitylive.jira.com/wiki/display/APIS/Status+Codes#ok",
        "status": "ok"
    },
    "response": [
        {
            "title": "Submitted",
            "ordering": "1",
            "id": "1"
        },
        {
            "title": "Open",
            "id": "2",
            "ordering": "5"
        },
        {
            "ordering": "18",
            "id": "3",
            "title": "Resolved"
        },
        {
            "id": "4",
            "ordering": "19",
            "title": "Closed"
        },
        {
            "id": "5",
            "ordering": "17",
            "title": "Advised Client"
        },
        {
            "title": "Waiting for Client",
            "id": "6",
            "ordering": "3"
        },
        {
            "ordering": "2",
            "id": "7",
            "title": "Need to Quote/Estimate"
        },
        {
            "ordering": "4",
            "id": "8",
            "title": "Awaiting Quote Decision"
        },
        {
            "ordering": "21",
            "id": "10",
            "title": "Added to JIRA"
        },
        {
            "id": "11",
            "ordering": "22",
            "title": "Needs Testing"
        }
    ]
}