JQL changes from 5.1 to 5.2?

Hi -

The following query used to return all issues except those closed with a resolution of "No Longer Relevant" or "Duplicate": "project = BLA and type = task and (resolution is empty or resolution not in ('No Longer Relevant', 'Duplicate')". However in 5.2 this search now only returns open issues.

I briefly tried a few other searches to work around this but my attempts either returned only Open issues or only Closed issues.

Can someone let me know what jql string will do this in 5.2?

Thanks!

Brent

2 answers

Well, in continuing trying other searches it seems that this original one is now working again, wierd...

0 vote

Query looks alright and worked for me in 5.2.1. A closing ')' is missing but I guess that is a typo in your question?

Yes, the query was working, I was not seeing all the results in the web site. I was actually issueing this JQL via rest API. It looks like the problem is the number of results returned in the search API call was reduced. If this is indeed the problem I can easily fix in my script. Thanks!

Quite possible. I saw your other comment immediately after I posted the answer. Timing ;)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

503 views 1 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you