Forums

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

JQL help

Sibiya Abraham March 25, 2021

Hi,

can someone help with a JQL query please?

i have an automation trigger in Jira, where i would like it to be triggered if the due date of an issue is either tomorrow or on current day at 3PM. i figured out the time part but cannot get the JQL right for the day part.

 

 

1 answer

0 votes
Olga Videc
Community Champion
March 25, 2021

Hello Sibiya,

JQL 

Tomorrow due < endOfDay("+1")

Today till 3PM due <= startOfDay(15h) 

It will find all issue that is due, also it will find an issue that was due yesterday if you need specific issues that are due specifically tomorrow

Specifically tomorrow due <= endOfDay("+1") AND due > endOfDay()

Today till 3 PM due >= startOfDay() AND due <= startOfDay(15h)

BR, Olga

Sibiya Abraham March 25, 2021

thank you, would it work if i want the trigger to look for any issues that has a due date of tomorrow? as in, i would be running the rule today and i want it to look for issues having a due date of tomorrow.

Olga Videc
Community Champion
March 26, 2021

Yes, it will.

You can check it easily just run the JQL in your issue search and check the results.

BR, Olga

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events