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 votes

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,700 views 18 21
Read article

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