Forums

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

Filter Results Gadget not respecting Filter criteria

Andrew B December 2, 2019

My filter I'm attaching to the Filter Results Gadget in a dashboard is this:

 

sprint in futureSprints() AND issuetype in (Story, Bug) ORDER BY Sprint ASC, Status ASC, Priority DESC, Rank ASC

 

The resulting list of stories and bugs is ordered correctly on the filter page, but when attaching the filter to the Filter Result Gadget, the result seems to come out as .. ORDER BY Sprint ASC, Status ASC, Priority DESC, Key DESC; ie Rank is ignored and it seems the Gadget replaces it with the Key ordering.

 

Has anyone else experienced this when using this gadget?  Is this a bug?

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 9, 2019

Hello Andrew,

Welcome to Atlassian Community!

Per your description, I believe someone has selected one of the columns of the gadget (the Key column) to sort the issues, causing the sort configured in the filter itself to don't be respected. As you can see in the feature request below, that setting does not reset after the page is refreshed:

Reset Filter Results gadget so it shows the results as ordered in the configured filter 

Feel free to vote and watch the suggestion to increase its priority and also receive notifications about any updates.

Additionally, can you check if the workaround provided in the feature request works for you? If that does not work, try to delete and recreate the Filter results gadget.

Let us know if you have any questions.

Andrew B January 13, 2020

Hi I reviewed the feature request, but it does not solve the problem.  If you review mine and the other comments, what is required, is that the Filter Gadget respect all order criteria defined in the attached filter.

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 13, 2020

Hello Andrew,

Sorry if I misunderstood your request.

After your last comment, I believe you expect the Filter Results gadget to respect the order defined in the related filter, not considering the sort applied when the user clicks in the gadget columns. Is that correct?

If I have understood it properly, I believe this feature request is the one you are looking for:

Prevent Gadgets from Being Sorted 

This feature request requires an option that would allow you to block the gadget from being sorted in a global context, so then it would always respect the order configured in the filter.

Let us know if you have any questions.

Andrew B January 13, 2020

Not correct either.  Sorting after the Filter Gadget has rendered is fine too.

 

In my mind, the Filter Gadget has a bug.  It does not respect RANK if its defined in a filter, it seems to override it with Key DESC.

 

I have a work dashboard with say maybe 20-30 issues grouped for teams of 5-6 devs by priority.  However, 5 issues could be of the highest priority.  Jira lets me organise these "highest" priority issues by RANK in the Backlog view. 

 

I've made a nice pretty dashboard for the devs containing other important sprint info.  I want the list of sprint items created on my Filter Gadget on my nice pretty dashboard to reflect those on the Backlog page, fundamentally, the ordering.  Currently I cannot do that.  This sometimes results in devs picking up issues incorrectly; ie not in a prioritised order, which occasionally causes problems. 

 

Of course, they could look at the Backlog view to double check before they start work,  or, you could fix the bug :-D.  Cheers, Andrew

Suggest an answer

Log in or Sign up to answer