1 Installation
This add-on must be installed through the Atlassian Universal Plugin Manager (UPM):
- Click the admin drop-down on your Confluence Cloud instance and choose Add-ons Click on settings on on Settings on your Confluence Cloud instance and choose Find new add-ons
- Click Find new add-ons from the left-hand side of the page
- Locate Locate Include for Bitbucket Cloud for Confluence via search
- Click Install free trial
- You're done!
2 Configuration
2.1 Configuration in Bitbucket Cloud
- Go to Bitbucket Settings → change to the team settings if needed → OAuth → Add Consumer; Note: admin rights for the selected account necessary
- Name your OAuth consumer, and enter the following URL to the Callback URL: https://ch-mibex-include-bitbucket.herokuapp.com/oauth-callback
Give Read permissions for Repositories, Issues, Pull Requests (depends on what macros you will use e.g., if you like to use the macro for showing all open pull requests, you have to add the appropriate permission)
2.2 Configuration in Confluence
...
If you intend to include files from:
- Bitbucket Cloud: no configuration needed → Usage
- Bitbucket Data Center/Server: