Where does Jira store the "mentioned on" issue links to gitlab?

Tiago Correia January 23, 2020

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:

Screenshot from 2020-01-23 17-33-35.png

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

2 answers

1 vote
Karl Grear June 27, 2022

I know this might be a little late, but for the sake of people who come across this post while searching for how to retrieve the "mentioned on" Issue Links. Here you go.

It can be retrieved via the Jira API:

rest/api/latest/issue/TST-1/remotelink

You can find the documentation here:

https://developer.atlassian.com/server/jira/platform/jira-rest-api-for-remote-issue-links/

0 votes
Adrian Stephen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 23, 2020

Hi @Tiago Correia 

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:

<jira-base-url>/plugins/servlet/active-objects/tables/list
Tiago Correia January 24, 2020

Hi Adrian,

Thanks for that information.

From what I can see, there's nothing there related to gitlab, so I imagine this must be on gitlab's side?

 

I'll check that.

Suggest an answer

Log in or Sign up to answer