Caterina Curti Atlassian Team

Comments

  • Hi all, Here is an article I recently wrote that covers UUIDs, workspace names and repository slugs when working with Bitbucket: Working with UUIDs and their curly brackets, workspace names or repository slugs in Bitbucket The file in the provided example…
  • Hi all, I just wrote this article to try to clarify this topic for the future: Working with UUIDs and their curly brackets, workspace names or repository slugs in Bitbucket Let me know if you have any feedback, Caterina
  • Hi all, I wrote this article which you might find useful: Mention a user in a PR comment using the Bitbucket REST API It shows an example of how to mention a user in a comment using this Forge app. Caterina
  • Hi all, The unique identifier that you want to use is the Atlassian Account ID (also known as AAID). The Atlassian Account ID is accepted in the REST API requests and available in the response as the account_id field. Here is an article where I explain how to retrieve the AAID: Retrieve the Atlassian Account ID (AAID) in…
  • Hi all, The unique identifier that you want to use is the Atlassian Account ID (also known as AAID). The Atlassian Account ID is accepted in the REST API requests and available in the response as the account_id field. Here is an article where I explain how to retrieve the AAID: Retrieve the Atlassian Account ID (AAID) in…
  • Hi, I wrote an app that you can check out, install and customize (all of this for free) to assign reviewers when the PR is created. Here is the full article covering the app: Assign PRs randomly to a specific list of users in Bitbucket Cloud And this is just to explain the logic of adding a reviewer to the PR: Add a…
  • Have a look at this article I just published about this: Add a reviewer to a PR using the REST API and Forge It contains a link to a fully functional Forge app to add reviewers to a PR (here is the link if you want to check that out directly: Assign PRs randomly to a specific list of users in Bitbucket Cloud ). Cheers,…
  • Hi @Sruthi_Nadimpally, I recently wrote this guide: https://community.atlassian.com/t5/Bitbucket-articles/Retrieve-the-Atlassian-Account-ID-AAID-in-bitbucket-org/ba-p/2471787 When working with the Bitbucket REST APIs, I would recommend using the Atlassian Account IDs (AAID) instead of UUIDs. Cheers, Caterina
  • Hi all, I just wrote this article about how to retrieve the users' Atlassian Account ID for Bitbucket Cloud in two different use cases: Retrieve the Atlassian Account ID (AAID) in bitbucket.org Caterina
  • As a follow-up to the above, here is an example using curl: curl --request GET \ --url https://bitbucket.org/<workspace>/<repo_slug>/get/<default_branch>.zip \ -u <username>:<app_password> \ --output repo.zip Please note the following: - default_branch: the value has to match the default/main branch for the repository.…
  • Hi all, I wrote an article to cover how to add a comment to a PR with a mention to a user in a Forge app. Have a look and let me know what you think: Mention a user in a PR comment using the Bitbucket REST API The Forge app itself is described in more detail here, the repository is open source so you can check the code and…
  • Edit: I wrote an app to do that. Check it out in the Add a reviewer to a PR using the REST API and Forge article. Since the answer above has been written a few things changed in the payload format for updating the PR reviewers: - the title is not required anymore - the reviewers can be specified with the following JSON: {…
  • Hello Arnaud, We have seen this problem a few times and created a page with the instructions to address it. You can find it here: Atlassian Support Bitbucket 8.1 Bitbucket Server Knowledge Base Troubleshooting User Management Crowd Synchronization Fails with Integrity Constraint Violation Caterina P.S. I know it's been…
  • It could be that what is mentioned in this post is what was happening. Specifically this part: Actually, this was user error! I didn't realize that Git for Windows had cached the credentials in the Credentials Manager. When those are removed, everything works as expected. Also considering that the HTTP(s) was enabled on…
  • Hello, Just cross-posting the answer I shared earlier on https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-ERROR-creating-pull-request-with-reviewers/qaq-p/648556. Hope that helps, Caterina
  • Hello, This is how you can specify a reviewer in the payload when creating a pull request: "reviewers": [ { "uuid": "{504c3b62-8120-4f0c-a7bc-87800b9d6f70}" } ] This is an array so multiple reviewers can be set in this way. Caterina P.S. I know you posted this some time ago but I still wanted to add an answer here. It…
  • Hello, Starting from Bitbucket Data Center & Server 5.10 (release notes are here), it is possible to configure Bitbucket to receive email notifications for merged pull requests. The Pull request notifications page provides all the available options and explains how to set up these notifications to be batched or immediately…
  • Hi Mithil, There is a detailed example on this post that you might find useful: https://community.atlassian.com/t5/Bitbucket-questions/how-to-create-bitbucket-pull-request-using-bitbucket-rest-api/qaq-p/906404 Regarding the authorisation for this request, Bitbucket Cloud does not have personal access tokens, but depending…
  • Hi Francis, There is currently no REST API option to retrieve the subset of branches that have been merged. This request is tracked in this ticket: https://jira.atlassian.com/browse/BCLOUD-14022 The ticket above also contains a git command that might be useful in this case. Caterina P.S. I know this reply is on a…
  • Hi Akash, The git ls-tree command can help with this. Here is an example of how you can run it to list all the files in the mybranch branch in a recursive way: git ls-tree mybranch -r --name-only Caterina P.s. I know it's been a while since you posted this but I hope this might help you and others who might come across…
  • Hi Harish, You will need to add/commit/push this file to all repositories since each repository is independent from the others. As an option, you could try to script this logic but it might be worth considering if this is a file which just needs to be pushed once or kept up-to-date. Caterina P.s. I know it's been some time…
  • Hi Anders and all, Starting from Bitbucket 4.6 (link to the 4.6 release notes) Bitbucket introduced the code search feature which allows users to: * Search for code across all your projects and repositories. * Search for code within a specific project or repositories. * Use search operators to get more precise search…
  • Hi Dave, Depending on the hosting type of Bitbucket, there are a few options that you can explore. For Bitbucket Data Center and Server (hosted by you), have a look at the Repository notifications feature. In particular the Push notifications section. If you are using Bitbucket Cloud (available at bitbucket.org and hosted…
  • Hi James, To keep track of the status of the repository at the time of a release, I would use tags . It might be helpful to also keep a branch for each release for some time after a release has been shared with customers for bug fixing purposes. These branches would be short-lived though and can be removed after some time…
  • Hi Austin, Bitbucket 7.1.0, which has been released in March 2020, introduced a Push Log view for repository admins. This could help with this. There is also a related - and still outstanding - feature request about this (https://jira.atlassian.com/browse/BSERV-2715). Hope this helps (you and potentially others in the…
  • Hi, The URL is controlled by the "base URL". The guide shared by Ahmed has a step to update it: https://confluence.atlassian.com/bitbucketserver/secure-bitbucket-behind-nginx-using-ssl-776640112.html#SecureBitbucketbehindnginxusingSSL-Step3:Change'sbaseURL You can read more about the base URL for Bitbucket on this…
  • Hi, I know it's been some time since you posted this but I hope my reply might help others in the future so here it is. Plugins cannot access the database directly. What they can then however is to use the available methods (https://developer.atlassian.com/server/framework/atlassian-sdk/atlassian-javadoc/) to read the…
  • Hi, I know it's been a while but I hope this might still help you and others who land on this. There are two options that you could use for this: - Bitbucket Data Center & Server has a Project feature which lets you group repositories and manage permissions for them in an aggregated way. - Since the 5.13 version, it also…
  • Hi, I know you asked about this some time ago, but let me answer this now and hopefully it will help you and others who might be interested. The short answer is that this can be achieved via the user interface directly and there is no need to setup anything in the repository filesystem. If you are using Bitbucket Cloud…
  • Hi @Bruno Marotta _ease solutions_, It is not possible to update the custom field value of multiple issues at the same time with a Connect app. However, the app could update each issue one by one.…