Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to order issues by "Days in status"?

Ian Liu Rodrigues January 17, 2024

I'm trying to setup my Kanban view, and this is my board's filter query:

project = PDR
and status not in (CANCELADO, Backlog)
and (
status != Concluido
or (status = Concluido and updatedDate >= startOfDay(-1))
) ORDER BY priority

 I would also like to order by the number of "Days in status". Is this possible? I couldn't find a field with that value. Something like

) ORDER BY priority, daysInStatus

1 answer

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 17, 2024

Hi @Ian Liu Rodrigues 

There is no built-in "days in status" field.  It is dynamically calculated when shown in the UX for the board.

And, when the sort order for the board filter is changed, this disables the ability to drag-and-drop to reorder issues on the board and backlog.  Do you need that feature?  If so, please change your filter back to the default of ORDER BY Rank ASC

 

It appears you are trying to organize your Kanban board to show issues by Priority at the top of columns and emphasize the days in the column.  Have you instead tried...

  • Use the swim lanes feature of boards, with JQL, to order into rows by Priority
  • Enable the days in column feature
  • Use the card color feature, with JQL, to perhaps add emphasis for issues in a status / column for longer than some threshold value

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events