In Jira, always the status name is shown capitalized, and in several applications we must know the name of the status in case sensitive… What we can do to know the REAL name of the Status in Jira? … Very easy!
We can do a REST call to the Jira REST API like this:
http://your-site-here/rest/api/latest/status/
With the JSON result, we must parse the label “Name” of the first level.
Example output:
{
-
description: “”,
-
name: “Done“, <—–The name in case sensitive of the Status
-
id: “10001”,
-
statusCategory:
{-
id: 3,
-
key: “done”,
-
colorName: “green”,
-
name: “Done”
}
}
BTW, If you want to colorize your JIRA Statuses (in JIRA and now in Confluence too), you can try my plugin New Status Colors!!