I'm looking for the place where I can get the relationship between a Jira issue and a Gitlab commit/merge.
Both Jira and Gitlab are local deployments.
Ideally I'd like to get the data directly from the Jira database (if that's at all possible), but I'd be all right if I could get that information from an API endpoint too.
I'm talking about the links that appear when you configure the Jira service on Gitlab:

This might be a question to gitlab though...?