Hi,
JQL supports the IN operator to search for any object in a given list. So, I have this requirement to search all issues in a list of issue ids. But JIRA throws an exception even if one of the issue ids is invalid in the list. Shouldn't it return the information about the other issue ids that were found? Or is there any other way to achieve the required results.?
Thanks,
Neha
It's rare that "key = x" is a useful search. When it is useful, there's no reason for a user to enter an invalid key, and they should be informed that the issue they've tried to name is not there.
So, no, you shouldn't expect a search for "load of stuff I am totally guessing about and hoping might do something with a partial result that I don't understand because I'm missing information" to work.
I faced the issue while making JIRA API calls using JQL. Where it should have returned results for valid keys, but it returned an exception if any issueKey was invalid.
However, I noticed something strange. When we make the same JQL query and use lowercase for the keys, e.g "abc-1" instead of "ABC-1", it gives results instead of the exception.
Strange yet working. You can check and confirm.
Thanks,
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.