Comments
-
Hi @[deleted] , I think this is what you are looking for. https://bitbucket.org/blog/protect-your-master-branch-with-merge-checks Just let me know if I can help you with something else Cheers
-
Hi @Sajid Ahsan , Are there any branch permissions configured for this particular repository/branch that would block you to merge? To verify go to Repository Settings -> branch permissions. Please let me know if that helps :) Cheers
-
Hi @victorferreirait , It is only a guess based on the provided information. The only difference between these endpoints is the "/" at the end of the deployments and pipelines endpoint. - pullrequests: /2.0/repositories/{workspace}/{repo_slug}/pullrequests -…
-
Hi @Josh Beauregard I don't know why it was never prioritized. I would strongly recommend opening a request ticket at https://jira.atlassian.com/browse/BCLOUD in that way it increases the chances to be prioritized. Cheers
-
@asaushkin , Unfortunately, Bibucket Cloud API does not provide a public API for changing/generating app passwords. Cheers
-
@Ali Hussaini , Unfortunately, there isn't an API that returns the desired combination in one request/response. It is necessary to use a combination of rest calls. For example, - Get repositories https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories - Get the branches…
-
Hi @Al Pizano , Sorry, for this, I thought you were talking about bitbucket cloud. Please take a look at bitbucket server docs, and let me know if you have any questions. Authentication: https://developer.atlassian.com/server/bitbucket/how-tos/example-basic-authentication/ Rest API:…
-
Hi @Ali Hussaini , You can use app passwords to authenticate and use the rest api. https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/ For example, to list branches from repository you can use this endpoint:…
-
Hi @Al Pizano, Sorry for the late response. curl https://api.bitbucket.org/2.0/repositories/my-username/my-repository/pullrequests \ -u my-username:my-password \ --request POST \ --header 'Content-Type: application/json' \ --data '{ "title": "My Title", "source": { "branch": { "name": "staging" } } }' where my-username…
-
Hi @Sarmad Sabih , Unfortunately, it is not possible to retrieve such information from bitbucket cloud APIs. This happens in order to improve user privacy in accordance with GDPR regulations. For more information: https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/ Thanks
-
Hi @Ken Turcotte Sorry for the delayed answer. With the provided information it looks like you are missing the ssh key configuration. Take a look at this page https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html. It will provide some guidance on how to set up the ssh key. Please feel free to reach…
-
@[deleted] , Sorry for the delayed answer. If it is a new repository without any content these steps should help: Perform these steps inside the project directory * Initiate it as a Git repository by running these commands git initgit add --allgit commit -m "Message about your commit" * Copy the URL for your empty…
-
Hi @Greg Gray , Welcome to the community! I replicated the steps mention above and I wasn't able to reproduce the error you mention. However, I saw that you created this comment yesterday which might have coincided with a bitbucket incident. Do you mind trying again?…
-
Hi @aliang One solution would be to query all pullrequests for a given repo to retrieve all pullrequests. After that for each pullrequest you can retrieve its activity which will provide information about the comments, reviews. Cheers
-
Hi Sunil, At the moment there isn't a version of API 2.0 for this task. However, The 1.0 API might help you https://confluence.atlassian.com/bitbucket/groups-endpoint-296093143.html Cheers
-
Hi @roger, Did u follow these instructions? https://confluence.atlassian.com/bitbucket/publishing-a-website-on-bitbucket-cloud-221449776.html Cheers
-
Hi @Ming Han Chung Unfortunately, at the moment we do not have a public API to do that. Cheers
-
Hi @al_stewart , One possible solution is to configure a local hook(pre-commit) to check the file sizes before committing the content. Cheers
-
Hi @Victoria Coleman This videos can provide some information: Pipelines https://www.youtube.com/watch?v=6fi2uAtIlxo Bitbucket: https://www.youtube.com/watch?v=2ll2ER3wpus Cheers
-
Hi @JBonavita , Unfortunately there isn't a way to restrict a user to a single branch. However, you can play around with branch permissions which might provide some insights to solve your problem in a different way. Cheers
-
Hi @Panduranga_Gupta_Palavalli Unfortunately, at the moment there is no API which provides an easy way to capture this data. You can create a suggestion to implement this API. Cheers
-
Hi @Panduranga_Gupta_Palavalli , Once you integrate your Jira instance with Bitbucket Cloud and start linking your Jira issues with your commits, pullrequests and branches. It would be possible to see the code changes referenced in the issue card.
-
Hi @srividya_nagaraju , It is possible to use the export issues API. https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/issues/export Cheers
-
Hi @Wanderley Teixeira If you only want to enforce the following pattern TEST-123: This is a proper commit message It is possible to configure a git hook that offers a variety of possibilities. However, if you want to use the linking feature to create a link to your web app you need to follow these steps:…
-
@[deleted] These endpoints might help you query the information you need. https://confluence.atlassian.com/bitbucket/rest-apis-222724129.html https://developer.atlassian.com/bitbucket/api/2/reference/resource/ Cheers
-
@Nick Welsh Thanks for the feedback.
-
@Nick Welsh Do you mind trying to access Bitbucket in a new "Private Window" and proceed to the Jira integration? Thanks and sorry for the inconvenience.
-
@Nick Welsh Can you see your Jira site when you click on the "Switch to.. icon"
-
Hi @Barry Brown Unfortunately, the 2.0 API does not offer this possibility. Cheers
-
Hi @diwakar.singh ssh: connect to host bitbucket.org port 22: Network is unreachable Usually network unreachable indicates a routing issue. Do you have any firewall on your computer or network? Cheers