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.
- Create the JIRA application using the appropriate Redirect URI for GitLab.com and choose
api
for the scope. - Copy the
Application ID
andSecret
values. - Log into your JIRA Cloud Hosted account, navigate to
Applications
, and clickLink GitHub Enterprise account
- Fill in the details.
- Click
Add
. - Authorize JIRA to access your account.
- Observe error displayed back in JIRA Cloud Hosted.
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