Forums

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

Command to not display closed tickets/issues in search bar

Pawel September 15, 2021

Hello!
Could you please advise how to not display closed tickets/issues. 
What should i add to following line in the search bar? 

"key in watchedIssues() ORDER BY status DESC, cf[10800] ASC, cf[10802] ASC"

 

Thanks for yout help!

1 answer

1 accepted

2 votes
Answer accepted
John Funk
Community Champion
September 15, 2021

Hi Pawel - Welcome to the Atlassian Community!

Maybe try this:

"key in watchedIssues() and statuscategory != Done ORDER BY status DESC, cf[10800] ASC, cf[10802] ASC"

Pawel September 15, 2021

Thank you John! 
Works great!

Is there any possibility we could add additional "filter" to this line to show the tickets from the most recent one to the oldest? 

key in watchedIssues() and statuscategory != Done ORDER BY status DESC, cf[10800] ASC, cf[10802] ASC

John Funk
Community Champion
September 15, 2021

Great, glad to hear that helped! You would need to do an ORDER BY created DESC

Like Pawel likes this
Pawel September 15, 2021

Thanks a mil!

Like John Funk likes this
John Funk
Community Champion
September 15, 2021

If that answered your question, can you click the Accept Answer button above so we can close this one out? Thanks!

Like Pawel likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events