Hi Team - For our Jira board we have more than 250 stories which will start from Requirement till Deployment in 8 phases as per our workflow. I need help to create a JQL query to filter out stories moved in last 7 days and stories stuck for more than 30 days.
Any suggestion what the query should be helpful !
Thank You ,
Ayaan
Hi @Ayan.Basu ,
You can use following query to fulfil your requirements:-
project = "Project Name" AND issuetype in standardissuetypes() AND status changed to "In Progress" AFTER -7d
This filter alone gives you tickets that were changed to In Progress in last seven days. You can add your required status.
project = "Project Name" AND issuetype in standardissuetypes() AND status = "In Progress" AND updatedDate <= -30d
This filter checks a ticket stuck in In Progress state for thirty days. If you want any Paused or Blocked status, replace it with In Progress. and if you want to combinely run this query do the following:-
(project = "Project Name" AND issuetype in standardissuetypes() AND status changed to "In Progress" AFTER -7d) OR (project = "Project Name" AND issuetype in standardissuetypes() AND status = "In Progress" AND updatedDate <= -30d)
The OR statements lists the tickets which meets any one requirement.
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.