You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hello, I get an error message when I run this query to find out how many epics weee delivered 30 days before or after it a date but get an error message and it doesn’t run. What am I doing wrong?
Thanks
Team = Atlas AND issuetype =
Epic AND status = Done AND
resolved >= startOfDay(-30d) AND resolved <= startOfDay(+ 30d)
Hi @Mister Femi ~ what is the error message?
@Laurie Sciutti Here is the error message: Error in the JQL Query. The character ‘+’ is a reserved JQL character. You must enclose it in a string or use the escape ‘\u002b’ instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ah. @Mister Femi ~ Firstly, you can't have anything resolved 30 days in the future.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mister Femi ~ you could try using hours, but be sure to include it in quotes.
resolved <= startOfDay("+8h")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Laurie Sciutti Thanks, I see your point. Back to main objective, can you suggest a query for epics resolved 30days before or after the target end date?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mister Femi ~ it should look something like this (depending on what your Target End Date field resolves to / is named in your JQL):
Team = Atlas AND issuetype = Epic AND statuscategory = Done AND
"Target end" >= startOfDay(-30d) AND "Target end" <= startOfDay("+30d")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mister Femi ~ more accurately than my previous response: if you are looking for issues resolved within a date range specified in another date field (i.e. Target end date), I believe this would require a plugin (like ScriptRunner), which allows for date comparisons. If you use ScriptRunner, you could include something like:
issueFunction in dateCompare("", "resolved <= 'target end' +30d") and issueFunction in dateCompare("", "resolved >= 'target end' -30d")
issueFunction in dateCompare("", "resolutionDate < dueDate +1w")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Laurie Sciutti You are a star. Thanks. Sadly, my org restricts plugins. So will try the query you suggested. Much appreciated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry to hear that, @Mister Femi . If you wouldn't mind accepting my answer I would appreciate it!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.