Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to Bitbucket Settings →  OAuth → Add Consumer
    Note: admin rights for the selected account where you want to include files from are necessary
  2. Name your OAuth consumer, and enter the following URL to the Callback URLhttps://ch-mibex-include4bitbucket.herokuapp.com/oauth-callback
  3. Give "Read" permissions for Repositories, Issues, Pull Requests (this depends on what macros you will 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 permissionpermissions)



        4. After saving these settings, you will be able to see your OAuth Client Key and Client Secret. Please write them down for the next step below.

...

For teams: https://api.bitbucket.org/2.0/workspaces/TEAM_KEY

Here's an example:

Image RemovedImage Added


Then copy Write down the UUID into for the field belownext step.


4. Then, add theUUID, Client Key and Client Secret from the Bitbucket OAuth consumer configuration to this dialog. Afterwards, press Submit.



5. Finished. You can now include files, issues and pull requests from Bitbucket private repositories into Confluence with the apps' macros.

...