Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Jira&Gitlab integration

Kamil Borkowski
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!
December 8, 2022 edited

Hello everyone,

I have a problem with commits in Jira Development Panel, when I click on a link, I can see GitLab branches and pull requests in issue, but if I click on commits, I can't see created commits, only information - "Unable to retrieve commit information. Jira is having difficulty contacting GitLab Self-Managed. If this condition persists, please contact your Jira administrators".

 

I edited Jira and GitLab integration in Oauth 2.0 settings, added new Client ID, Client secret from GitLab, changed callbacks. I also reconnected GitLab accounts in DVCS connector, synchronized repositories again, and it worked, right after reconfiguration - but only for 1-2 hours. After that time, problem with commits in issues came back again. 

 

I checked Jira logs, and it keeps repeating one error: "The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client".

I was looking for a solution on the internet and I found two articles about this error: 

[JSWSERVER-21417] Jira access token getting expired after 2 hours while connecting to Gitlab - Create and track feature requests for Atlassian products.

[JSWSERVER-21243] DVCS syncing GitLab Pull Requests is not updating - Create and track feature requests for Atlassian products.

 

It seems that JIRA tries to refresh the same token, or GitLab creates new tokens automatically and probably this may cause a problem, but that's just my guess. 

Is it possible to fix this error? Is there any solution to not updating Jira and GitLab integration manually every time to see commits in Jira Development Panel? 

 

Jira version: 8.15.0 (Server)

GitLab version: 15.5.4 (Community Edition)

 

Screenshots:

ss_tokenserviceexception.jpg ss_unable_to_retrieve_commit_information.jpg

 

Thank you for any support.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events