Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JQL: How do I query for Items that are not completely estimated

Hi,

I'm trying to query in JIRA for items that are not estimated COMPLETELY.

What do I mean:

  • If it is a Story it has to have a Story Point Estimate
  • If it has sub-tasks all subtasks are estimated (in time)
  • If it has no sub-tasks the item has a time estimate on it

Especially the last two items I don't know how to query - is there a way to do that?

1 answer

Hi Paul,

Sadly you cannot achieve the desired search using standard features on Jira, you must go for a third-party app instead. Using i.e. JQL Booster Pack you can type the following:

 

1) If it is a Story it has to have a Story Point Estimate

type = Story AND "Story Points" IS EMPTY

2) If it has sub-tasks all subtasks are estimated (in time)

type = Story AND issue IN parentOf(' type IN subTaskIssueTypes() AND originalEstimate IS EMPTY  ')

3) If it has no sub-tasks the item has a time estimate on it

type = Story AND issue NOT IN hasSubtasks() AND originalEstimate IS EMPTY 

 

1,2,3) All together

type = Story AND ( "Story Points" IS EMPTY OR issue IN parentOf(' type IN subTaskIssueTypes() AND originalEstimate IS EMPTY ') OR (issue NOT IN hasSubtasks() AND originalEstimate IS EMPTY) )

(*) 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:

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you