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 use, e.g., if you like to use the macro for showing all open pull requests, you have to add the appropriate permission)

Image RemovedImage Added



        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 the UUID into the field below.

...

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

Image RemovedImage Added



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

...