Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,603
Community Members
 
Community Events
176
Community Groups

Problem with Jira&Gitlab integration

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.jpgss_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 Community Events