Comments
-
There is another thread on this topic here: https://community.atlassian.com/t5/Bitbucket-questions/Migrate-from-Gitlab-to-Bitbucket-Cloud/qaq-p/1511240
-
Here is an article about OpenAPI for Jira: https://blog.developer.atlassian.com/update-to-jira-clouds-swagger-openapi-docs/ Bitbucket has an OpenAPI spec here. Keep in mind that it's still at version 2 of the spec and it's also been reported to us that automatic code generation doesn't work well for some reasons yet to be…
-
> Does a successful run of a pipeline count as a "build"? Yes. Ultimately these tools use Bitbucket's commit status API to set a status for a commit (pending, successful, failed) and these appear throughout bitbucket wherever commits appear. If you have > 1 build you would want to configure the '# of builds passed' to be…
-
You can do that for yourself here: https://id.atlassian.com/manage-profile/security/recent-devices
-
You can look up the diff (or diffstat) for any range of commits. If you're doing this for a PR there are some nifty PR APIs which will end up issuing an HTTP Redirect to the corresponding diff or diffstat API. Pull request Diff:…
-
The only place to get the modification counts is the diffstat API: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/diffstat/%7Bspec%7D That works on a range of commits so there isn't any commit metadata. If you'd like to look up author and commit info you can…
-
`size` is a property of the repository object on the API. Here is an example object from https://api.bitbucket.org/2.0/repositories/atlassian/bbql/?fields=-owner,-workspace,-links,-project (Note that I've used field exclusion to remove some fields so it's easier to read). The size is in bytes. { "scm": "git", "website":…
-
Looks like this has been answered already here: https://community.atlassian.com/t5/Bitbucket-questions/How-to-find-out-repository-size/qaq-p/631316
-
This doesn't exist. Your best bet is to create a repository of markdown files. The markdown in regular repositories gets rendered automatically (like README.md). See here for a demo: https://bitbucket.org/tutorials/markdowndemo/src/master/ To be honest... this is really all a wiki is anyways :) There isn't really a way to…
-
Are they public repositories by any chance? If so they'd technically still have access. If they're private repositories than this sounds like a bug.
-
@david.alsh The authentication is the same as outside of a pipeline. You could use your credentials but I'd recommend making an app password. For the most security you could create a new user and use them as a bot. (Note this will be counted towards your bill depending on your plan--it's just a regular user). Read more…
-
@DHSV I think it still does this, but you need to make sure that your Jira site is linked to your Bitbucket account. Just making a commit with an issue key will not create this link. Once the accounts are linked, committing changes should result in the branch data appearing on Jira (and the Jira data appearing in links on…
-
Should be able to follow the steps here: https://support.atlassian.com/bitbucket-cloud/docs/connect-bitbucket-cloud-to-jira-software-cloud/
-
I agree that the error message is mostly useless. Typically when there is a one word message in there it means there is a validation problem with the field of that name. In this case, I'd check that the commit is a real commit for that repository.
-
@Shuaib Ahmed 1. CONTRIBUTING.md needs to be a part of the master branch. So merge that commit and then you should see it. There shouldn't be any permissions needed to see the app but you do need to install it into the appropriate account. (You need to be an admin to install). 2. This should show up for anyone viewing a…
-
You have a couple of options. 1. Add it to the default pull request descriptions: https://bitbucket.org/blog/save-time-with-default-pull-request-descriptions (although devs will be able to edit it) 2. You can also check out the Pull Request Guildelines app. https://prguidelines.services.atlassian.com/
-
There was a brief incident where this capability was broken. https://bitbucket.status.atlassian.com/incidents/lyxchcy18qws
-
In the example above, beatles/ is a directory. So paths are a part of the file name, not the URL
-
Just curious--why do you want this? In my opinion it seems like it's something that wouldn't be done frequently at all and would potentially be a signal for spam. So I'm curious what the use-case is.
-
You can pass in `message` as either a GET or a POST parameter, as so: curl -v https://api.bitbucket.org/2.0/repositories/atlassean/test_number_99/src \ -u my_username:$MY_PASSWORD \ -F /beatles/john.txt=john \ -F /beatles/paul.txt=paul \ -F /beatles/ringo.txt=ringo \ -F /beatles/george.txt=george \ -F…
-
This is the API you're looking for: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/src
-
That's correct. It's the same error. There is still no search term. "ext:py" and "NOT" and "path:thisdontwork" are all modifiers. Add a search term and it should work. ```ext:py NOT path:pyc mySearchTerm```
-
Could you please provide a quote and a link for reference? Looking at this page: https://confluence.atlassian.com/bitbucket/search-873876782.html it's not explicitly called out that you must include a search term, however, every single example, even examples about how to use and combine modifiers, all include a search term.
-
In the console I'm seeing this message, "Query did not contain any search terms (only modifiers)" which isn't surfacing to the UI. In any case, I think this should explain why it's not working. It appears that having a search term is required.
-
Hi @John Camerin I have a couple of suggestions. 1. The base URL you should use is https://api.bitbucket.org/2.0/ (https://bitbucket.org/api/ may work but it is deprecated. Also the other bitbucket.org URLs refer to the website and not the API--they wouldn't work). 2. The content type needs to be 'application/json' (it…
-
The current integration will stop being supported however you can still easily integrate with AWS CodeDeploy using a "pipe" Deprecation announcement: https://confluence.atlassian.com/bitbucket/end-of-support-announcement-2019-12-03-aws-codedeploy-app-removal-980460164.html Instructions for how to set up the AWS CodeDeploy…
-
Yes they're different. Understandably they'd be the same and that's a goal long term.
-
We're still working on the kinks in the new pull request experience. This is a known issue that we are tracking here: https://jira.atlassian.com/browse/BCLOUD-19752
-
It's likely that the way you're authenticating isn't working or you're authenticating as someone who doesn't have access to view the repositories you're requesting. Since repositories can be public or private, you can view the repository list of any user (even without authentication) but the items in the list depend on…
-
When you get dropped back on the same page, do you see a list of Jira sites? In your case there would be one item in the list and a button to connect them. If you just signed up for Jira, you might have to go there first and do some onboarding to have it fully set up and then try coming back the the back to link them.