Setup
PR Lens for Bitbucket
Connect a Bitbucket repository and every pull request arrives drawn: architecture and data flow, as one comment on the pull request itself.
- Redrawn on every push. Comment
@pr-lens drawfor one by hand. - Comments post as you — Bitbucket has no app identity, so use a dedicated account if you would rather they did not.
- Bitbucket shows plain Markdown, so the diagrams arrive as pictures that link to the canvas.
Paste a token instead
For a repository you would rather not tie to an account. Comments then post as the token, so name it PR Lens when you create it.
Turning it off
Remove the PR Lens webhook under the repository's Settings → Webhooks, and revoke PR Lens under Personal settings → Authorized applications. For a pasted token, deleting the token stops it too.