Aloha,
We have an app thats integrated with Jira which allows users to search through their Jira tickets etc. We do this by submitting a web form, taking the parameter and generating a JQL query similar to:
summary ~ "Search Terms" OR description ~ "Search Terms" OR comment ~ "Search Terms"
I'd like to have the ability to also search by issue id - like FOO-1234 - so the user could just enter search text or an issue id etc in the same search box (like how Jira itself handes search in top right corner of app).
Problem is that the issuekey requires a specific format, otherwise it errors and does not perform a search - i.e.:
summary ~ "Search Terms" OR description ~ "Search Terms" OR comment ~ "Search Terms" OR issuekey = "Search Terms"
=> The issue key 'Search Terms' for field 'issuekey' is invalid.
I would think this is a common search approach - but cant find any documentation/answers on how to do this. Thanks in advance!