Skip to content

docs: update bitbucket cloud docs for api tokens#2501

Merged
zakisk merged 1 commit intotektoncd:mainfrom
zakisk:update-bb-cloud-docs-for-tokens
Feb 25, 2026
Merged

docs: update bitbucket cloud docs for api tokens#2501
zakisk merged 1 commit intotektoncd:mainfrom
zakisk:update-bb-cloud-docs-for-tokens

Conversation

@zakisk
Copy link
Copy Markdown
Member

@zakisk zakisk commented Feb 23, 2026

this commit updates bitbucket cloud docs about replacement of app passwords with api tokens and adds a guide on how to create api token.

📝 Description of the Change

👨🏻‍ Linked Jira

🔗 Linked GitHub Issue

Fixes #

🚀 Type of Change

  • 🐛 Bug fix (fix:)
  • ✨ New feature (feat:)
  • 💥 Breaking change (feat!:, fix!:)
  • 📚 Documentation update (docs:)
  • ⚙️ Chore (chore:)
  • 💅 Refactor (refactor:)
  • 🔧 Enhancement (enhance:)
  • 📦 Dependency update (deps:)

🧪 Testing Strategy

  • Unit tests
  • Integration tests
  • End-to-end tests
  • Manual testing
  • Not Applicable

🤖 AI Assistance

  • I have not used any AI assistance for this PR.
  • I have used AI assistance for this PR.

If you have used AI assistance, please provide the following details:

Which LLM was used?

  • GitHub Copilot
  • ChatGPT (OpenAI)
  • Claude (Anthropic)
  • Cursor
  • Gemini (Google)
  • Other: ____________

Extent of AI Assistance:

  • Documentation and research only
  • Unit tests or E2E tests only
  • Code generation (parts of the code)
  • Full code generation (most of the PR)
  • PR description and comments
  • Commit message(s)

Important

If the majority of the code in this PR was generated by an AI, please add a Co-authored-by trailer to your commit message.
For example:

Co-authored-by: Gemini gemini@google.com
Co-authored-by: ChatGPT noreply@chatgpt.com
Co-authored-by: Claude noreply@anthropic.com
Co-authored-by: Cursor noreply@cursor.com
Co-authored-by: Copilot Copilot@users.noreply.github.com

**💡You can use the script ./hack/add-llm-coauthor.sh to automatically add
these co-author trailers to your commits.

✅ Submitter Checklist

  • 📝 My commit messages are clear, informative, and follow the project's How to write a git commit message guide. The Gitlint linter ensures in CI it's properly validated
  • ✨ I have ensured my commit message prefix (e.g., fix:, feat:) matches the "Type of Change" I selected above.
  • ♽ I have run make test and make lint locally to check for and fix any
    issues. For an efficient workflow, I have considered installing
    pre-commit and running pre-commit install to
    automate these checks.
  • 📖 I have added or updated documentation for any user-facing changes.
  • 🧪 I have added sufficient unit tests for my code changes.
  • 🎁 I have added end-to-end tests where feasible. See README for more details.
  • 🔎 I have addressed any CI test flakiness or provided a clear reason to bypass it.
  • If adding a provider feature, I have filled in the following and updated the provider documentation:
    • GitHub App
    • GitHub Webhook
    • Gitea/Forgejo
    • GitLab
    • Bitbucket Cloud
    • Bitbucket Data Center

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @zakisk, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the Bitbucket Cloud installation documentation to reflect the deprecation of App Passwords and the transition to API Tokens. It provides comprehensive guidance on how to create and configure API Tokens, along with necessary permission settings. Additionally, it clarifies that the user field in the Repository Custom Resource should now use the Atlassian email ID.

Highlights

  • Bitbucket Cloud App Password Deprecation: Bitbucket Cloud is deprecating App Passwords, with all existing ones to be disabled by June 9, 2026. The documentation now reflects this change, providing a warning about the upcoming deprecation.
  • API Token Guidance: New instructions have been added for creating Bitbucket API Tokens, including a link to Atlassian's guide and a list of required permissions (read:workspace, read:pullrequest, read:repository, write:repository) for integration with Pipelines-as-Code.
  • Repository CR 'user' field update: The user field in the Repository Custom Resource (CR) now requires the Bitbucket/Atlassian account email address instead of the username, aligning with the shift to API tokens. The documentation includes guidance on how to find this email.
Changelog
  • docs/content/docs/install/bitbucket_cloud.md
    • Added a warning about the deprecation of Bitbucket Cloud App Passwords.
    • Provided a new section with instructions for creating Bitbucket API Tokens.
    • Updated the required permissions for Bitbucket integration to align with API Tokens.
    • Clarified that the user field in the Repository CR should now use the Atlassian email ID.
    • Replaced the old screenshot for username settings with a new one for account settings to find the email ID.
Activity
  • No specific activity (comments, reviews, progress updates) has been recorded for this pull request since its creation.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@pipelines-as-code
Copy link
Copy Markdown

pipelines-as-code bot commented Feb 23, 2026

🔍 PR Lint Feedback

Note: This automated check helps ensure your PR follows our contribution guidelines.

⚠️ Items that need attention:

🎫 Jira reference

Add a Jira reference in the description using one of the following formats:

  • https://issues.redhat.com/browse/SRVKP-<number>

If no SRVKP ticket exists yet, link a GitHub issue instead (e.g., Fixes #123).
Minor housekeeping PRs without Jira coverage can skip this after confirming with reviewers.


🤖 AI attribution

The following commits lack an explicit AI attribution footer:

  • b07a42b docs: update bitbucket cloud docs for api tokens

If no AI assistance was used for a commit, you can ignore this warning.
Otherwise add an Assisted-by: or Co-authored-by: footer referencing the AI used.


ℹ️ Next Steps

  • Review and address the items above
  • Push new commits to update this PR
  • This comment will be automatically updated when issues are resolved
🔧 Admin Tools (click to expand)

Automated Issue/Ticket Creation:

  • /issue-create - Generate a GitHub issue from this PR content using AI
  • /jira-create - Create a SRVKP Jira ticket from this PR content using AI

⚠️ Important: Always review and edit generated content before finalizing tickets/issues.
The AI-generated content should be used as a starting point and may need adjustments.

These commands are available to maintainers and will post the generated content as PR comments for review.

🤖 This feedback was generated automatically by the PR CI system

@pipelines-as-code pipelines-as-code bot added documentation Improvements or additions to documentation providers labels Feb 23, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Bitbucket Cloud documentation to reflect the deprecation of app passwords and the transition to API tokens. The changes include instructions on how to create API tokens and clarify the use of the Atlassian email ID in the user field of the Repository CR. Overall, the updates are crucial for keeping the documentation current with Bitbucket Cloud's authentication changes. I've provided feedback on improving the presentation of the deprecation notice and adhering to the documentation style guide regarding hint blocks.

Comment on lines +13 to +17
{{< hint danger >}}

<https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/>
App passwords are now replaced with [API Tokens](https://support.atlassian.com/bitbucket-cloud/docs/using-api-tokens/), you cannot create a new app password now and All existing app passwords will be disabled on June 9, 2026.

Check these boxes to add the permissions to the token:
{{< /hint >}}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The general rules for this repository state to "Avoid using 'hint' blocks in documentation." While the information about app password deprecation is crucial, it should be integrated directly into the text rather than using a hint danger block.

Suggested change
{{< hint danger >}}
<https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/>
App passwords are now replaced with [API Tokens](https://support.atlassian.com/bitbucket-cloud/docs/using-api-tokens/), you cannot create a new app password now and All existing app passwords will be disabled on June 9, 2026.
Check these boxes to add the permissions to the token:
{{< /hint >}}
App passwords are now replaced with [API Tokens](https://support.atlassian.com/bitbucket-cloud/docs/using-api-tokens/). You cannot create a new app password, and all existing app passwords will be disabled on June 9, 2026.
References
  1. Avoid using 'hint' blocks in documentation.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love it!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just mentions that we only support api token since app password is deprecated, don't phrsae in the "now" tense, it's a documentation not a changelog..

Follow the Pipelines-as-Code [installation](/docs/install/installation) according to your Kubernetes cluster.

## Create Bitbucket Cloud App Password
## Bitbucket Cloud App Password
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The heading "Bitbucket Cloud App Password" is immediately followed by a deprecation notice. It would improve clarity to combine the content into a single section focused on API Tokens, with a clear deprecation note for app passwords at the beginning of that section. Consider renaming this section to reflect the deprecation or integrating its content into the "Create Bitbucket API Token" section.

Suggested change
## Bitbucket Cloud App Password
## Bitbucket Cloud Authentication

@zakisk zakisk force-pushed the update-bb-cloud-docs-for-tokens branch from 5ce9f41 to eb298e8 Compare February 24, 2026 06:45
## Bitbucket Cloud App Password

Follow this guide to create an app password:
App passwords are replaced with [API Tokens](https://support.atlassian.com/bitbucket-cloud/docs/using-api-tokens/). You cannot create a new app password, and all existing app passwords will be disabled on June 9, 2026.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why mentioning date, they go out of date quickly, just mentions that it is not supported since not supported by bitbucket anymore, this should not be complicated..

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as users are using app passwords so far we should let them know that they wouldn't work after that date and we will remove this after that date. because someone might be having app passwords so let them know that it won't work and PaC supports API tokens

@zakisk zakisk force-pushed the update-bb-cloud-docs-for-tokens branch from eb298e8 to 41dfb06 Compare February 24, 2026 18:58
this commit updates bitbucket cloud docs about
replacement of app passwords with api tokens and
adds a guide on how to create api token.

Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
@zakisk zakisk force-pushed the update-bb-cloud-docs-for-tokens branch from 41dfb06 to b07a42b Compare February 25, 2026 12:32
@chmouel
Copy link
Copy Markdown
Member

chmouel commented Feb 25, 2026

/lgtm

Copy link
Copy Markdown

@pipelines-as-code pipelines-as-code bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congrats @zakisk your PR Has been approved 🎉

✅ Pull Request Approved

Approval Status:

  • Required Approvals: 1
  • Current Approvals: 1

👥 Reviewers Who Approved:

Reviewer Permission Level Approval Status
@chmouel admin

📝 Next Steps

  • Ensure all required checks pass
  • Comply with branch protection rules
  • Request a maintainer to merge using the /merge command (or merge it
    directly if you have repository permission).

Automated by the PAC Boussole 🧭

@zakisk zakisk merged commit ec55549 into tektoncd:main Feb 25, 2026
5 checks passed
@zakisk zakisk deleted the update-bb-cloud-docs-for-tokens branch February 25, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bitbucket-datacenter documentation Improvements or additions to documentation providers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants