Hi,
What is the proper JQL for each of the following cases using the native Jira function or using any other addon function
- "Start Date" < Today and the issue still waiting for approval and all linked defects to it are closed
- "Start Date" < Today and all linked defects to it are closed
Thanks
Hi Mohamed,
Sadly, you cannot achieve the desired search using standard features on Jira. For this requirement you must go for a third-party app instead. Using i.e. JQL Booster Pack you can type the following:
1) "Start Date" < Today and the issue still waiting for approval and all linked defects to it are closed
"Start Date" < startOfDay() AND approval = pending()
AND issue IN linkedIssuesOf(' type = Defect and status = Closed ') AND issue NOT IN linkedIssuesOf(' type = Defect and status != Closed ')
2) "Start Date" < Today and all linked defects to it are closed
"Start Date" < startOfDay() AND issue IN linkedIssuesOf(' type = Defect and status = Closed ') AND issue NOT IN linkedIssuesOf(' type = Defect and status != Closed ')
(*) Note that this is just an example, you must tune above query to fit your needs.
Using this app you can also query other issues relations, check:
References:
Hope this helps you to create awesome queries <3
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.