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...?
I don't have the answer for this but you can find all the tables from a specific plugin from the "plugin data storage" page on Jira:
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events