how do i find out what a status value means? Ex: status = "10001"

 

2 answers

0 vote

Status are usually labelled.

The id of 10001 is what is behind the scenes of your JIRA installation, but the name of the status will generally not be 10001, it should be a word or phrase.  You'll need to ask your admins why you're seeing 10001 and what they've really called it.

0 vote
Chris Fuller Atlassian Team Oct 24, 2016

Provided there are any issues you can see with that status, just searching for that should tell you.  For example, when I try it on jira.atlassian.com, I see one issue (you won't see it because it's from an old project that has been hidden as part of housecleaning), and from there I can see:

Screen Shot 2016-10-25 at 7.55.31 am.png

If that doesn't turn up anything, then you can try using the REST API directly to find out what this is (I don't think you'll be able to see this one either):

https://jira.atlassian.com/rest/api/2/status/10001

{
    self: "https://jira.atlassian.com/rest/api/2/status/10001",
    description: "",
    iconUrl: "https://jira.atlassian.com/images/icons/statuses/information.png",
    name: "Information Gathering",
    id: "10001",
    statusCategory: {
        self: "https://jira.atlassian.com/rest/api/2/statuscategory/4",
        id: 4,
        key: "indeterminate",
        colorName: "yellow",
        name: "In Progress"
    }
}

 

You will probably see this instead:

{"errorMessages":["The status with id '10001' does not exist"],"errors":{}}

 

This means one of two things:

  1. The status really doesn't exist.
  2. The status exists, but it is only used by workflows that are assigned to projects that you cannot see, so you cannot see the status, either.

And you can't find out what the ID means by design.

If none of these apply to you, but rather you're a system administrator and are trying to figure out what has happened to some filter that no longer works or something similar, you could resort to checking the database to see if the status still exists:

jira_jdog=# SELECT * FROM issuestatus WHERE id = '10001';
  id   | sequence | pname |  description   |              iconurl               | statuscategory
-------+----------+-------+----------------+------------------------------------+----------------
 10001 |        5 | ToDo  | In the Backlog | /images/icons/statuses/generic.png |              2
(1 row)

(Note that the issuestatus.id column is inexplicably a string rather than a number, so on most databases you must quote it).

 

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published 2 hours ago in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

22 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot