How do I write a JQL query to find issues that are 7 days away from the begin (date and time)?

We have a training project and want to send an email reminder to student 7 days prior to the start date of their class.

2 answers

0 vote
Tarun Sapra Community Champion Nov 07, 2017
duedate > 7d

Will return all the issues wherein the "duedate" or whichever date field you want has a value greater than 7 days from the current day. I.e Event happening after 7 days. 

Tarun Sapra Community Champion Nov 07, 2017

This JQL can be sent as "Subscription" email to students

The field that I have to work with is Begin (Date and Time). I only want issues that have the Begin (Date and Time) exactly 7 days from today.  This query will check every day for issues that meet that criteria.

This is what I tried and it didn't work. I am very new at this :)

453e6f51-161f-46f2-b77a-81fe3050e259.png

You can try JQL

"Begin (Date and Time)" = 7d and project = TR and status = "Scheduled"

This will dynamically add 7 days to the present day. 

0 vote

Hello,

The query would be something like this

duedate = 7d 

Then you can create a filter from the JQL query and make a subscription for the filter. Subscriptions let you send filter results to certain groups of users on schedule. More about subscription you can read here:

https://confluence.atlassian.com/jira064/receiving-search-results-via-email-720416706.html

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

134 views 0 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you