How to implement epic link and spring autocompletion

We would like to implement create issue screen with autocompletion for Epic Links and Sprints fields like on Jira Software create issue screen:

But the following urls (used by Jira) are not whitelisted for JWT requests (returns 403):
/rest/greenhopper/1.0/sprint/picker?query=
/rest/greenhopper/1.0/epics?query=

Available analogs https://developer.atlassian.com/cloud/jira/software/rest/#api-board-boardId-epic-get and https://developer.atlassian.com/cloud/jira/software/rest/#api-board-boardId-sprint-get doesn’t support “query” parameter for keyword filtering.

Should I brutforce all possible epics and sprints or there is more human alternative to filter required epics/sprints by keyword?