Integrating Github cloud with Jira cloud when Jira admin is not a Github organization owner
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
In a use case where the Jira admin is not the GitHub owner but needs to integrate both the steps are different,
Environment
Jira Cloud
Solution
Here is the scenario we have created.
Jira admin user (The same user is part of the Github org but not an admin)
Jira user (user is part of GitHub org and has access to repositories but is not an admin)
GitHub org owner (Does not have access to Jira or Jira account)
Step 1: Jira admin adds the Github for Jira add-on to the site (See Install the GitHub for Jira app for details)
Step 2: Jira admin configures the add-on and requests access to the repositories/all repositories (See Connect a GitHub organization for details)
Step 3: Jira admin sends the approval link to the GitHub owner
During the connection process, follow the prompts and choose "Send them a link and ask them to connect" for any GitHub organizations the Jira admin does not have admin access to.
Step 4: GitHub owner approves the connection and adds Jira to GitHub
Go into Settings > Third-party Access > OAuth application policy
Grant Atlassian Cloud access
Install the pending Jira app in GitHub (See Add the Jira app to a new GitHub organization for details)
Step 5: Once the approval is done, Jira user is now able to add the repositories to the Jira project
The user can go into Add > Add Tool > Build > Source Code Management > GitHub for Jira and select a repository. It will be added to the current project.
Was this helpful?