Forums

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

specific filter on a dashboard and last 2 months data in filter

Sue Bridges May 2, 2019

Filters and Dashboards questions.

1) I was hoping to create a Dashboard to contain only certain Filters so that from the Dashboard I just click once to get to the info I want, but it would appear that you can't set a Filter against a particular Dashboard.  That seems a reasonable request to me as I think it's unmanageable with a long list of Favourite Filters.  Why are they all Favourites? - so that they are visible on the main Dashboard.  However, there's a better way?  Clicking on Issues -> Search for Issues (Filters too long at the bottom so would have to click More....) and then using >> and then scrolling down to select seems rather long winded otherwise.

2) For reporting, I have Filters to show me issues opened in the last 2 calendar months etc.  8w isn't the same thing, the length of months varies for d, and it might be the middle of the next month I am pulling the data.  There is no obvious way of saying data with calendar month a and month b, without having to modify the Filter each time (no -2months option) for between 1st month a and end of month b.  I have to be missing something as surely others want this?  If I didn't have to modify the Filter each time for the calendar months I could just use the static filter and use a Filter Results gadget on a Dashboard.

2 answers

1 accepted

0 votes
Answer accepted
Haran Kumar
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.
May 2, 2019

Hi @Sue Bridges , To answer your second part of the question , 

try using the following JQL; 

project = DEMO AND createdDate <= startOfMonth() AND createdDate >= '-60D'

This should give you the last 2 months tickets considering the calendar and not from the current day. 

Coming to the first part of your question , though i didnt get your question completely from what i understood i just give you this answer , 

Once you do a filter search you can directly export them to your dashboard without adding them to you favorite list thereby eliminating the long list. 

Once your JQL search is done and you get all tickets corresponding to that search ,

you can click on export this flter button and create a dashboard gadget directly , without saving your filtered search. 

Hope this helped you . If i have got your question wrong , Kindly ignore the explantion

And will be looking forward for a detailed explanation of the question if i was wrong later. 


Sue Bridges May 2, 2019

Thanks for the createdDate suggestion.  It's the 60d that bugs me as that isn't always the case with months.  I am going to use this comparing to my current one which I have to modify <project = xx> and created >= 2019-03-01 and created <= 2019-04-30 and see how I get on.

For your second half, that sounds great when I don't have to change dates on things, so will check that out.

Many thanks

0 votes
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.
May 2, 2019

Hi @Sue Bridges 

The following will find issues created within the last two months:

createdDate >= startOfMonth(-2)

Best regards,
Bill

Sue Bridges May 2, 2019

This isn't quite so good as it also finds issues created in this month already as well as the last two months.  However, I appreciate the idea, so many ways to ask it for a basic task!

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.
May 2, 2019

Ah... I understand.  Try this to include created in the last 2 months, and before this month:

createdDate >= startOfMonth(-2) AND createdDate < startofMonth(0)

Best regards,

Bill

Like Joaco likes this

Suggest an answer

Log in or Sign up to answer