Jira Cloud link from tasks API

I was wondering whether it is possible to get the data as it is shown in a widget in the UI from the tasks API.
As an example, we have the Jira Cloud integration set up, showing us the Jira Cloud issue in the task screen. I would like to access this data through the API.
I’ve already tried to access this information through the custom fields & external data, to no avail.