I'm trying to get list of issues filtered by search parameter
GET https://api.atlassian.com/ex/jira/${cloudId}/rest/api/3/search?jql=summary ~ "${search}*"
query above works perfect
but when I add "OR key = ${search}"
GET https://api.atlassian.com/ex/jira/${cloudId}/rest/api/3/search?jql=summary ~ "${search}*" OR key = ${search}
and pass incorrect format of key or not existing key of issue (e.g. any text query), but included in summary field it gives me
"The issue key 'TEST' for field 'key' is invalid."
or
"Issue does not exist or you do not have permission to see it."
Is there any possibility to get issues by summary OR key satisfying the search parameter in the same query?
Much appreciate your help!
Hi,
I tried in my browser and the JQL seems fine so can you print the parameter and make sure that they are correct.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.