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,464,714
Community Members
 
Community Events
176
Community Groups

Is there a function for jira JQL and automations to get the list of resolved/closed states?

So that I can do "status in closedStates()" or "status not in closedStates()" ?

2 answers

1 accepted

0 votes
Answer accepted
Craig Nodwell Community Leader Mar 16, 2022

Try statusCategory()
Jira only has 3 status categories regardless of the number of statuses, providing the admin set the status category correctly on creation this should give you what you want.

statusCategory in (Open, "To Do", Done)
statusCategory not in (Open, "To Do", Done)

Craig Nodwell Community Leader Mar 16, 2022

of course you need to adjust what you are looking for I just gave all 3 possibles.

Remember that the resolution is totally separate.

You can easily have status in the "done" category with issues that are unresolved for example.  Most of us set up workflows to try to avoid that, setting resolutions as issues go into "done" category status, and clearing them for To Do and Open, but you can't assume that's always the case.

Obviously for resolution, it's just "resolution is empty" for the to-do/open issues and "resolution is not empty" for closed

Like Craig Nodwell likes this

Use this JQL query:

Status = Resolved

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events