Get all status's from JIRA webservice

jira, rest

Solution

Whith JIRA REST API you can : rest/api/2/status or for each project : rest/api/2/project/{projectIdOrKey}/statuses

see the online rest api browser : it's a wonderful tool : https://jira.atlassian.com/plugins/servlet/restbrowser#/resource/api-2-status

Problem

Is there a way to get all status types from the JIRA webservice, either through the api or through a JQL request? (The issue status is the field that is mapped to the swimlanes when the board is set up)

Original source