Skip to content

JIRA Development Panel Integration: Error obtaining access token

Summary

On GitLab.com, when attempting to configure JIRA Development Panel integration with a user who has access to a group with a subscription of Silver or higher while using a trial of JIRA Cloud Hosted (not self-managed) the error: Error obtaining access token. Cannot access https://gitlab.com from Jira is received.

So far we've replicated this by supplying JIRA with a top level parent group that has a Silver subscription and by supplying it with a personal namespace on Gold.

A customer encountering the same error reported this to us in this ticket (Internal only).

Steps to reproduce

Following this documentation.

  1. Create the JIRA application using the appropriate Redirect URI for GitLab.com and choose api for the scope.
  2. Copy the Application ID and Secret values.
  3. Log into your JIRA Cloud Hosted account, navigate to Applications, and click Link GitHub Enterprise account
  4. Fill in the details.
  5. Click Add.
  6. Authorize JIRA to access your account.

jira_-_authorization_requested

  1. Observe error displayed back in JIRA Cloud Hosted.

jira_-_error_displayed

Example Project

Accounts used:

  • Test-silver - GitLab.com group on Silver
  • Tristan-testing - User creating the application, has reporter access in Test-silver. Also able to replicate with higher access granted to this user.

Also used my personal namespace which is on Gold as the user creating the application and was still able to replicate.

What is the current bug behavior?

The aforementioned error is displayed.

What is the expected correct behavior?

That the error is not received and a list of all projects within the top level parent group supplied to JIRA in the Team or User Account field is displayed within JIRA.

/cc @smcgivern