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

Jira StatusCategory does not work in History JQL statements

This appears to be a bug reported on Jira Server, but it also applies to Jira Cloud.  I can write a JQL query on Status WAS "Under Consideration", but I am unable to write a JQL query on StatusCategory WAS "To Do".

 

I should be able to do the later because StatusCategory is part of history tracking.  Flagging this as a bug!

2 comments

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 25, 2023

This is expected, if you look at the documentation for the WAS operator it states that it only support the fields Assignee, Fix Version, Priority, Reporter, Resolution, and Status. Status category is not a field on the issue, that is linked to the status.

Hey Scott

To add on to what Mikael posted,

When using statusCategory you are looking for the states of a status and not the status themselves.

You can use statusCategory to find "To Do/Grey Colored Statuses", "In Progress"/Blue Colored Statuses or "Done"/Green Colored statuses.

The following operators are not supported: ~ , !~ , > , >= , < , <=
IS , IS NOT, WAS , WAS IN , WAS NOT , WAS NOT IN , CHANGED


Here is the documentation for statusCategory in JQL

How to search using statusCategory() & statusCategoryChangeDate() function with JQL | Jira | Atlassian Documentation

Like Mikael Sandberg likes this

Comment

Log in or Sign up to comment