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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Issue query seems to filter out inaccurate number of results when I add Sprint not in openSprintts() Edited

Update:  (I can't figure out how to delete the post).  I solved this.  Apparently when I included sprint into the query, it started to exclude all tickets where sprint field was empty.  So adding in Sprint is EMPTY solved the problem

project = PIL AND issuetype in (story, bug, Task) AND (Sprint not in openSprints() OR Sprint is EMPTY) AND status not in (Canceled, "Notation Only (No Impact)", Done, Resolved, "In UAT", Validation, "Selected for Deployment", "On Hold") ORDER BY key DESC

 

 

 

 

I don't understand the results I'm getting from issue search queries:

Query 1:  If I enter the following query I get 161 results

project = PIL AND issuetype in (story, bug, Task) AND status not in (Canceled, "Notation Only (No Impact)", Done, Resolved, "In UAT", Validation, "Selected for Deployment", "On Hold") ORDER BY key DESC

 

Query 2:  If I run the following query, I get 19 results:

project = PIL and sprint in openSprints()

 

Query 3--combining them.  Here, I would expect to get 142 results.  But I only get 18 results.

project = PIL AND issuetype in (story, bug, Task) AND sprint not in openSprints() AND status not in (Canceled, "Notation Only (No Impact)", Done, Resolved, "In UAT", Validation, "Selected for Deployment", "On Hold") ORDER BY key DESC

 

It's not just an issue with open sprints.  If I put in my current sprint specifically (Sprint != 147) it still drops too many results

Anyone have any ideas?  

 

 

1 answer

0 votes

You say "Update: (I can't figure out how to delete the post). I solved this. "

That's great to hear you fixed it! 

This place is a community of people using Atlassian stuff and some of us have read your question and thought "hey, yes, I've seen this too, how did you fix it?".

Rather than a delete, we'd actually like to know how, and would appreciate a write up of how you did.

But, we do understand "can I delete" too.  I'm afraid you have to ask moderator types if you're not a community leader or higher.  If you want to delete, some of us can do that (it's not a simple delete, but we can at least make it non-public).  Let us know where you want to go and I'll bin the question if you really want.

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