Forums

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

Select Top Few Records from Filter.

Aniket_Sapkal
March 15, 2018

I am writing query/filter in Jira as below

project = RGSSD AND status not in (closed) ORDER BY updated DESC

but this query is returning almost 250+ records but I want only top 15-20 updated records.

I tried using TOP constraint but its not supporting it. Can you please advise me on this please?

Thanks
Aniket

1 answer

1 accepted

0 votes
Answer accepted
Josh Steckler
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 Champions.
March 15, 2018

You can do this by making your filter, saving it, then using that filter on a "filter results" dashboard gadget to limit the number of returned results.

Aniket_Sapkal
March 15, 2018

Thank you for the prompt response. :)

Aniket_Sapkal
March 15, 2018

I did it but anyhow all records are there, we are just limiting the view count on 1st page. I want this to be done in core query. is that possible?

Josh Steckler
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 Champions.
March 15, 2018

No, the filter results gadget is as close as it gets.

Aniket_Sapkal
March 15, 2018

Okay...Thanks for your help Josh!

Like Christophe Duguet likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events