The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

MTD Dashboard

adamea
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 12, 2023

Hello,

 

I am wanting to create a month-to-date or year-to-date dashboard for my project. What is the appropriate JQL for my dashboard to only account for month-to-date or year-to-date and automatically reset each new month or each new year. 

 

Thanks!

Alex

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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 Champions.
April 12, 2023

Hi @adamea -- Welcome to the Atlassian Community!

What do you want that date/timeframe relative to: created date, updated date, resolved date, etc.?  For any of these, you could create JQL using the date-based functions, as described here: https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/

For example, the rolling year could be by checking the last 11 months prior, relative to now:

project = myProjectName 
AND created >= startOfMonth(-11)

or more specifically if you wanted complete months:

project = myProjectName 
AND created >= startOfMonth(-12)
AND created <= endOfMonth(-1)
ORDER BY created ASC

Please try some of those functions to see how they match what you need.  Thanks!

Kind regards,
Bill

TAGS
AUG Leaders

Atlassian Community Events