How to write a query to get a list of issues having status changed after a certain date(custom date field at the issue)?
Example -
Project=xyz and status was in "x" AFTER "custom date field"
Thanks in advance,
CH
Hi @manikanta ch ,
I don't see an immediate way to pull that off with JQL. If you know the date, you could write a fairly simple query like this:
Project = xyz AND Status CHANGED AFTER StartOfWeek()
where StartOfWeek() may just as well be any other date.
I am trying to get my head around what you are trying to achieve. The best I an come up with, is that your are trying to assess whether a certain action has taken place before or after the foreseen target date.
So if that may be your use case, you could simplify your search by adding a postfunction to the transition that you are tracking and conditionally setting e.g. a custom field on the issue with either your transition date or just an indication that the issue was delivered on time or not.
Depending on your implementation, you could perform a simple search on that marker (on time or not). Or if you have Scriptrunner, you could then search with a DateCompare function to retrieve the relevant issues. e.g:
issueFunction in dateCompare("", "resolutionDate > dueDate")
Quite a few assumptions there, but still hope this helps!
Hi ya!
As far as i know, you cannot use a custom datetime field on AFTER operator just relative amounts like -1d and so on...
Sorry.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join PM Evangelist, Axel Sooriah, & Product Ops. Consultant & Advisor, Jenny Wanger, as they unpack the role of product ops and discuss key takeaways in Atlassian’s ‘The Product Ops Mission’ guide. They’ll answer your questions live on May 6 at 9:00am PT.
Register here ⬇️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.