Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,539
Community Members
 
Community Events
176
Community Groups

How do I get a list of statuses that show the associated status id?

I am uploading a csv file where the status field needs the status id to accept each issue without error. Is there a simple way to get a list of the built-in statuses with their assigned status ids?

In advance search I have entered various queries (e.g. status = 1, status =3, etc.) to get some of the status names, but can't find status ids for all statuses in the workflow (e.g. PENDING, CANCELLED, etc.)

3 answers

1 accepted

9 votes
Answer accepted

@Jeremy Guralnick -

Welcome to the community.

You can obtain the WF status internal IDs in two ways -

1) Assuming you have Jira Admin rights, then you can access Jira Administration > Issues > Statuses.  You can then hover the "Edit" option under the ACTION column to see each status's ID (The link should show up at the bottom left of your screen).

2) Issue the following REST API call via a webbrower tab - https://<based Jira URL address>/rest/api/2/status.  It will give you a listing of all WF statuses in your system with its ID.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Very helpful. Was able to get the Status IDs from your '1' above.

Thanks much,

Jeremy

Like vasanth likes this

@Jeremy Guralnick 

Excellent.  Please click on "Accept Answer" button when you have a chance.

Best, Joseph

Like vasanth likes this

As I am not a Jira admin, 2) worked for me. Thank you @Joseph Chung Yin 

1 vote

A third option is to pull an XML file from JIRA that will show you the IDs for each of the steps. 

 

Admin>Issues>Workflows, then find the workflow you need, click "View" for that workflow. Then click export to XML.

0 votes

None of the above worked for me. I'm not an admin and the API address didn't work.
I found another way:
Open a view that has native filters, filter on status, and get the status ID from the URL.
For example, on the instance I'm working on, it looks something like this:

jira/software/c/projects/<project_name>/issues/?jql=status %3D "To Do"  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events