We have a pretty standard process.
An issue spends time in an "In Progress" status and then moves to a "QA" status.
The issue has a custom date field called "QA Due Date" which is populated with a date picker.
How in the world do I write a JQL query filter that shows me all issues that changed status from "In Progress" to "QA" after the date specified in "QA Due Date"?
Thanks!
Hi Dave - Welcome to the Atlassian Community!
You probably are not going to be able to do that with JQL because you cannot compare date fields with JQL.
However, you might be able to create an Automation For Jira rule that uses the Advance Compare condition to get a list of issues emailed to you.
Hi Dave,
Have you found a solution to your problem ? I have exactly the same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Dave West ,
You can try Status Time app developed by our team. It provides reports on how much time passed in each status as well as status entry dates. For your specific case, you can run the report to show status entry dates along with your custom field "QA Due Date". Then export the report in csv format, then you can compare two dates using MS Excel and filter the ones "QA Due Date" is before status entry date.
Once you enter your working calendar into the app, it takes your working schedule into account too. That is, "Unassigned" time of an issue opened on Friday at 5 PM and assigned to a user on Monday at 9 AM, will be a few hours rather than 3 days. It has various other reports like average/sum reports(eg. average unassigned time per project). And all these are available as gadgets on the dashboard too.
Here is the online demo link, you can see it in action and try.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you by chance have ScriptRunner? If so, you might be able to use 'issuefunction in (datecompare(...))' to get where you're hoping to be.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Dave West Not sure about a plugin that will help you achieve what you are looking for.
However I know for sure Jira out of the box doesn't have this feature.
Best,
Fadoua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Project = ABC and status = QA and QA Due Date > "enter the date here" (if it applies to all projects then no need to add project to your query.
For more about JQL check here
Let me know how it goes.
Best,
Fadoua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the response but this is not quite what I am looking for. Each issue has its own QA Due Date so the date cannot be hardcoded into the query. I am looking to use the custom date field as a parameter.
So I need something like:
project = ABS and status = QA and status changed from "In Progress" to "QA" after "QA Due Date"
Unfortunately, this causes an error saying I cannot compare anything to QA Due Date
Does anyone know how I can fix this?
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.