What API has to be used to get Epic links for a project?

Hi All,

We (ServiceDesk Plus Cloud) have integration with Jira Cloud which will link jira issues with ServiceDesk Plus Requests & we have also provided option to load create issue form & this form will be constructed using rest/api/2/issue/createmeta API. For some fields like Assignee we get auto complete Url in this API which will be like /rest/api/2/user/assignable/search?project=<project-id>&query= . We will use this API to get values for Assignee field & display it to users.

There is a field called “Epic Link” which is a default custom field and this field gets listed in createmeta API but no auto complete URL is present for this. This end point /rest/greenhopper/1.0/epics?searchQuery=&projectKey=<>&maxResults=100&hideDone=true&_=<> gets called in Jira Cloud when we click Epic Link option. We are not sure which API to be used for the mentioned case since it is an internal API.

Please Suggest which API has to be used here to fetch relevant Epic Links when create issue form for a project is loaded and also why no auto complete URL is displayed in createmeta API.

Thanks & Regards,
Vishwa Dharini.