Currently, if I want to link an issue to the Jira ticket it allows me to search only in Open issues, and if I want to link ticket that already closed, I have to provide an exact Key number.

Is it possible to search for ALL issues in this search bar by open text? and how would I do it.
Thanks in advance.