Gitlab integration - issue tracking

I have built the docker image from the yesterdays master on the GitHub, to try the new GitLab integration functionality. I have successfully registered sentry app into our GitLab instance (also on-prem) and configured repositories.
Now, I want to link the issue tracker for my project in sentry. From the issue view, I click Set up Issue Tracking button, and I’m redirected to settings/{org}/integrations/ page. On this page I can see my installed GitLab integration, but the only thing I can do there is to add more repositories (after clicking Configure). I can’t see any option to match sentry project with the one in gitlab in order to track issues.

Are there any other requirements to set this up?

2 Likes

I’m also stuck wondering how to attach a Sentry project to a Gitlab Repository

It’s behind a feature gate. In /etc/sentry/sentry.conf.py add 2 lines:

SENTRY_FEATURES['organizations:integrations-issue-basic'] = True
SENTRY_FEATURES['organizations:integrations-issue-sync'] = True
3 Likes

Can confirm that did it. :+1:

Works for me also, thanks!

works for me, thanks ! :+1:

Hi @aklajnert , I’ve built the docker imagem from master on github.
But I can’t access my settings/{org}/integrations

Is there anything special I must do?

Thanks

Hi @talvespe, are you sure you trying to access valid URL? For me it is settings/{org}/integrations/. Note settings not setting. Also, you need to have right permissions to manage organization in your sentry instance.

Hi Buddy…

I’m sure URL is ok. settings/{org}/integrations/ .
But, the Integration area bellow is not showing.


ps: this image is from sentry.io

My sentry plugins list

jira: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
clubhouse: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
bitbucket: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
github: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
amazon_sqs: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
slack: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
pushover: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
gitlab: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
jira_ac: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
hipchat_ac: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
victorops: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
sessionstack: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
heroku: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
asana: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
pivotal: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
splunk: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
pagerduty: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
vsts: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)
segment: sentry-plugins 9.0.0rc1 (/usr/local/lib/python2.7/site-packages)

where is /etc/sentry/sentry.conf.py located…? Is there a way to enable this in the Sentry UI?

hi @dhhagan did you find any updated on this one as i am also stuck on this one

@ntcong how to do this one ui…

if you’re using 9.1.1 it should be enabled by default

@ntcong but I am not able to see the button to link the gitlab issue after successful addition of repo’s

is there some more configuration to add or am i missing something

but default it is not enabled

now i see the button which can link gitlab issue (i think bug is resolved by sentry) @ntcong

Earlier comments seem to imply that Sentry can be and is hosted ‘on-premises’. I’m using the hosted version. The Sentry site pricing page and several docs pages imply that the ‘create GitLab issue’ button should be available, and visible by default, for all pricing tiers once a GitLab integration and a repo are configured:

[As a new user, I can only two links max in a post; hence the last ‘link’ above.]

But I can’t see the button when looking at a Sentry issue.

Do I need to do something to associated the Sentry project with my GitLab repository in Sentry?

Or is this feature behind the paywall for the hosted version of Sentry?