basically I want to know through JQL all issues that are due in coming 7 days. any leads?
due >= startOfDay() AND due <= 7d
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the simple search engine and select your options
Then, if you select the Advanced option, you will see how it translates into JQL.
In my example it was:
project = DMP AND due <= 7d
More about comparing fields with operators can be found here: https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-operators-reference-764478341.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @pragati bhatia ,
"due <= 7d" will show every issue due in the upcoming 7 days and overdue ones. Try the following JQL for a range between today and the next 7 days.
due >= startOfDay() AND due <= 7d
With that being said, it is always a good option to try the simple search first and adjust the resulting JQL like @Bogdan Gorka explained.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Merve Nur Bas I have learnt something too.
To exclude overdue issues I would normally use due >= "0" AND due <= 7d but I am not sure if the the "0" means start of the day or the moment the JQL is executed. So, to be 100% sure, it is better to use startOfDay().
More about avanced search functions can be found here:
https://confluence.atlassian.com/jiracorecloud/advanced-searching-functions-reference-765593719.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bogdan Gorka Thanks this solved my problem. I was getting overdue issues as well when I used @Merve Nur Bas suggestion.
due >= startOfDay() AND due <= 7d
this works well for me :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy to help. Please use the green button Accept Answer so others know that this solution worked for you :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.