Can not link group of gitlab while configuring gitlab plugin for jira

Md Emran Hosen June 15, 2023

gitlab self hosted server and jira cloud integration using gitlab plugin in jira. i am able to connect gitlab self hosted url from jira using plugin but when i click link on group, giving error "Failed to link group. Please try again."

* network connectivity is good
* gitlab self hosted url is correct
* gitlab self hosted version 15.10 which is good for it
* also my user is owner of that group

I followed this document (https://docs.gitlab.com/ee/integration/jira/connect-app.html#set-up-oauth-authentication-for-self-managed-instances).

how to fix it ?

4 answers

5 votes
Fabrice Marguerie August 1, 2023

I was able to fix this by creating a site-admins group in Jira and adding myself to it. Only the org-admins group existed.

Maxime COLIN
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2023

I had exactly the same issue and we have spent 2 hours with the Jira & Git lab admin 2 weeks ago. We've seen this topic but not yet the solution !!! It works !!!!! Thanks !

Like # people like this
Fabrice Marguerie August 9, 2023

I wonder why it hasn't been fixed.

Like Anoh Jean Nathan Emon likes this
Anoh Jean Nathan Emon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 23, 2023

yo bro, the best answer

Bardia Mazaheri
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 26, 2023

Worked like a charm. Thanks.

comodmw August 30, 2023

WTF!!! The Group has to be created and its important that it has exactly the name "site-admins"? Why this is not mentioned anywhere???

msens
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 3, 2023

Good job!

alex mercier
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 13, 2023

Thanks a lot Fabrice, weird solution but it works!

Harrison Wang
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 28, 2023

It works. Please add a group name with exactly "site-admins".

Aleksandr Rusakov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 12, 2023

This is one of the best workarounds I've ever seen.

@Fabrice Marguerie Thank you a lot!

precious okiemen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 27, 2023

Thank you Fabrice.....I spent 4 hours trying to figure this out. Your solution works like magic

Jan Verbeke January 31, 2024

We always had this group, users are in it, but it still doesn't work.

When trying to link it gives : Failed to link group. Please try again.

3 votes
Chris Gatto
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 17, 2023

I'm getting the same issue using GitLab SaaS Premium. Following the documentation, setup fails during the "Link groups" step. I can see the group, and my user is Owner of that group, but the linking fails without any explanation. 

Chris Rhein
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 25, 2023

Was there a fix that worked for you for this issue?

1 vote
JEREMY CHEYROUX
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 27, 2023

Same issue, check the request result to see more informations. In my case

{
"message": "The Jira user is not a site administrator. Check the permissions in Jira and try again."
}

Fabrice Marguerie August 1, 2023

Same here, and of course, I'm a site admin.

Did someone find a workaround? Will this be fixed?

Fabrice Marguerie August 1, 2023

I found a mention of this kind of issue in the documentation, unfortunately it's about "Cross-Origin Request Blocked" and not "The Jira user is not a site administrator", and no solution is provided.

Like Max Choque Martinez likes this
0 votes
Nico Grienauer February 7, 2024

I have the problem, that I could link a group, but after this I am stuck.
still there is this "setup code tools" in the sidebar…

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events