Forums

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

JQL for X Days Since Start Date

Alen Dumonjic March 28, 2018

Hello:

I'm trying to create a JQL for when exactly 80 days have passed since the Start Date on an issue. But all I've been able to come up with is issues with a start date in the last 80 days in the query below. What am I missing here?

project = TEST AND issuetype = "Task" AND "Start Date" = -80d 

Thank you all for your help. It's greatly appreciated.

1 answer

0 votes
Andreas
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 Leaders.
March 28, 2018 edited

ok, since we don't have the "Start Date" field in our instance, I tried to find issues created exactly 2 days ago and was able to find them like this:

createdDate >= -3d AND createdDate <= -2d

So, assuming your Start Date works similar, this should give you all the issues in question:

project = TEST AND issuetype = "Task" AND "Start Date" >= -81d AND "Start Date" <= -80d
Alen Dumonjic March 28, 2018

Hi Andreas:

I believe that includes issues within the last 2 days. I would like to find exactly 80 days ago.

Thank you.

Andreas
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 Leaders.
March 28, 2018 edited

aaahhh...

try this

project = TEST AND issuetype = "Task" AND "Start Date" > startOfDay(-80d) AND "Start Date" < endOfDay(-80d)

 

Alen Dumonjic March 28, 2018

Thank you. It's a valid JQL, but it's not showing an issue that I know was created 80 days ago as of right now. Perhaps at the end of the day it will. I will follow-up.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, aafp, jira migration, marketing collaboration, end siloed work, streamline workflows, kerrie gottschalk, jira cloud admins, unified marketing, process visibility, team efficiency, cross-team collaboration

How Kerrie Gottschalk unified AAFP’s marketing team with Jira

At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.

Read the story
AUG Leaders

Atlassian Community Events