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:
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:
Thank you for any support.