...
- Click on Settings on your Confluence Cloud instance
- Click Find new add-ons from the left-hand side of the page
- Locate Include for Bitbucket Cloud for Confluence via search
- Click free trial
- You're done!
2 Configuration to access private repositories
Info |
---|
You only have to do the following steps if you intend to include files, issues and pull requests from a private Bitbucket repository. If you only use public repositories, you can ignore the following instructions. Please also notice that you You only have to do these steps only once for every Bitbucket user/team from which private repositories where you want to access files from private repositories. |
Info |
---|
When using private repositories, Bitbucket IP whitelisting is not supported. |
...
The configuration consists of two basic steps. :
- The first one is to create the OAuth credentials in Bitbucket so that the app is allowed to access the files/issues/pull requests to show them inside its macros.
- The second step is to add these OAuth credentials to the app's settings. Both steps are described as follows.
2.1 Configuration in Bitbucket Cloud
- Go to Bitbucket Settings → OAuth → Add Consumer
Note: admin rights for the selected account where you want to include files from are necessary - Name your OAuth consumer, and enter the following URL to the Callback URL: https://ch-mibex-include4bitbucket.herokuapp.com/oauth-callback
Give "Read" permissions for Repositories, Issues, Pull Requests (this depends on what macros you want to use, e.g., if you like to use the macro for showing all open pull requests or open issues, you have to add the appropriate permissions)
...
5. Finished. You can now include files, issues, and pull requests from Bitbucket private repositories into Confluence with the apps' macros.
...