Hello,
I am trying to establish a JQL statement which looks for tickets moved from one status (Open) to another (Acknowledged) by a certain date. That date is established within a custom field named "SLA Date".
I have started with the following:
AND status changed from Open To Acknowledged BY "SLA Date". However, JIRA won't recognize "SLA Date" in this statement
So, if the "SLA Date" is set to 3-24-22, and a ticket was moved from Open to Acknowledged by 3-24-22, I want it to show up in the filter results.
Thanks!
Hi @Matt Melvin
This isn't possible to do natively - date operators like BEFORE or ON use specific dates, rather than date fields themselves.
You might be able to find an App on the Marketplace which extends JQL to allow for this - but it's not something I've seen before.
I have however got an option for a workaround you could explore, using Scriptrunner:
The JQL might look like...
issueFunction in dateCompare(" ","TransitionDate <= SLA Date")
Let us know what you think!
Ste
Thanks, Stephen.
I find it odd that there is no support of this use case from core JIRA. I appreciate your feedback.
Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Matt Melvin - Unfortunately, this is not how the Changed operator works. As you have in your query, Changed is designed to capture the before and after field value. However, By is intended to capture WHO made the change.
Natively, there is no way to query one date field against another (Recommend voting for this enhancement: https://jira.atlassian.com/browse/JRACLOUD-20727). Until then, you'll need a 3rd party tool such as script runner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, Mark.
I voted for the enhancement and got some laughs from some of the comments within it.
Matt
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.