Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Need a query for pulling up the data for 30 days prior and 30 days ahead of a certain date?

Hi,

I am trying to pull up data for a report with below requirement:

30 days prior and 30 days ahead of a certain date.

Tried different queries nothing worked to meet my objective.

I would greatly appreciate if someone could provide suggestions for the JQL to be used.

Thanks,

Kamal

2 answers

2 accepted

1 vote
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 07, 2022

Hello @Kamaldeep 

Welcome to the community.

Jira does not have a native method for creating a query where you could plug in a variable that you define elsewhere, like

created >= (<date>(-30d)) and created <= (<date>(30d))

If you know the date you want to specify the range around then simply work out the dates that are 30 days before and 30 days after that date, and plug those dates into the JQL.

There might be third party apps in the Atlassian Marketplace that could help.

Can you tell us more about the problem your are trying to solve, or your use case for this?

Hi @Trudy Claspill 

Thanks a lot!

Yes, I tried that and it worked. Really appreciate for the help.

0 votes
Answer accepted
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 07, 2022

Hi @Kamaldeep welcome to the community.  Jira has great date query functions you can find this information here.

Hi @Craig Nodwell 

I looked at the resource shared. And that is a great piece of information and quite useful. I was able to build some other filters as well. 

Really appreciate for the help.

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events