User Tools

Site Tools


wiki:bitbucket_server_cloud_migration_github_integration

Bitbucket Server Cloud migration with Github integration

Add Github repository to Jira server instance.

Github repo can be added globally via Administration > Applications > DVCS accounts. This will enable the repo for all future projects.

Alternatively it can be added separately for each projects in Project Settings > Developer tools.

  1. Add repo in Administration > Applications > DVCS accounts
  2. Login to your github and generate client key. Go to Profile > Settings > Developer Settings > OAuth Apps and register a new application. For the url and callback url add the url for Jira.
  3. Copy the the client ID and generated client secret back to Jira
  4. Repo should now be connected

Do a test commit for some test project

Create a new project and test issue in Jira and then do a test commit with commit message beginning with issue key e.g.

git commit -m "ISSUE-1 add file"

You may need to refresh the repo to show the change (Administration > Applications > DVCS accounts)

You should see a new commit on the issue.

Bitbucket Cloud

Before migrating to cloud (or after), install the Github for Jira app and configure it to connect to your Github repo. You may need to select “Full” retry sync to see the commits/branches.

Tested on

  • Atlassian Jira Project Management Software 8.8.1

See also

References

wiki/bitbucket_server_cloud_migration_github_integration.txt · Last modified: 2021/01/15 11:47 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki