By Alastair Wilkes on July 18, 2017
Atlassian account single sign-on is coming to Bitbucket. Now, once you’ve logged in, you can seamlessly transition between Bitbucket, JIRA Software, and Confluence without logging in again.
Last year we rolled out Atlassian account, enabling you to use a single set of login credentials across our cloud products. This step enabled you to use one set of credentials to log in to JIRA, Bitbucket, and Confluence, but you still had to log in separately when navigating between products. Single sign-on means you don’t have to log in multiple times when comparing your Bitbucket pull request against the design spec in Confluence, for example.
Notice for users with password managers
As a result of this change, the Bitbucket login form will move from the bitbucket.org domain to the id.atlassian.com domain. If you’re using a password manager and have associated your Atlassian account credentials with the bitbucket.org domain, you’ll need to associate them with the id.atlassian.com domain.
This change will be rolling out to all users over the next few weeks. Some users will have to log in again, but for most it should be a transparent changeover.
As always, if you have any issues logging into or using Bitbucket, contact us and we’ll be happy to assist. Happy coding!
By Amber Frauenholtz on
Bitbucket Server & Data Center the best of both worlds – Git repository management focused on speed, collaboration, and quality with the security, traceability, and scale required to fulfill meaty compliance rules. we’re introducing project level administration, an additional tool for ensuring compliance regulations can be met without the burden of constant monitoring by administrators.
Keep reading to learn more about project level administration and an update to Bitbucket Data Center smart mirroring in 5.2.
Download Bitbucket Server 5.2
Project level administration
Bitbucket Server built for professional software teams, providing more ways to customize and secure your workflows than other Git management tools. For any repository, administrators can configure the branching model, the type of merge strategy used for pull requests, mandate that all commits be GPG signed and/or pushed only by the commit author, restrict branch access, and more. All of which play a role in ensuring compliance requirements are met without the team having to worry about it.
Until today things like hooks, branch permissions and model, and pull request had to be configured each time a new repository was created. In organizations with teams that create hundreds or thousands of repositories, this leads to wasted time or by granting repository admin access to folks who originally may not have needed it. With the introduction of project level administration, these settings can now be applied to all the repositories in a project .
Project level administration works in much of the same way that repository settings do. Any user who’s been granted project level administration right can edit the settings for the project, which will apply to all the repositories stored within. New repositories created settings from the project level. However, if a repository has unique requirements, the repo administrator can modify specific settings by overriding the project level configuration.
Smart mirrors in Bitbucket Data Center help global teams speed up in high-latency and low-bandwidth environments. These read-only copies of repositories stay updated automatically and inherit all the rules and permissions configured on the master server. Previously, continuous integration servers and developers using mirrors needed to maintain 2 URLs, one for fetching from the mirror and the other for pushing to the primary server. In Bitbucket Data Center 5.2, we’re introducing push proxying, which combines both operations into a single HTTP or SSH URL – one less thing to worry about in your day to day development activities.
Compliance meets DevOps
Adopting DevOps practices while maintaining a secure, traceable, and scalable development environment is possible. The tooling you select shouldn’t hold you back from making positive changes, it should enable them. Bitbucket Server 5.2 can help your team take advantage of the best DevOps has to offer while complying with organizational policies. Create a workflow that works for your team minus the auditing and compliance headaches.
Download Bitbucket Server 5.2
By Kelvin Yap on June 30, 2017
This post comes from Abhishek Sharma, a Masters of Science student at the University of Southampton and member of Bitbucket’s Student Amabassador team.
“Code collaboration on steroids” — this is how Atlassian describe Bitbucket on their site. And this is exactly what I experienced first-hand when I lost my Git virginity after being introduced to Bitbucket in September last year. I’ll tell you the story in a moment, but if you’d prefer to just cut to the chase…
Anyone can use Bitbucket for free. But university students and staff can upgrade to the premium offering at no extra charge (take that, student debt!). There’s a party going on over here, and you’re all invited.
So. On with my story.
For one of my Master of Science modules in the first semester, we were tasked with a group project. I know, I know… the dreaded group project. We had to create a trading agent that could perform the bidding strategy of advertising networks in the AdX TAC (a virtual platform for simulating an ad exchange marketplace) by automatically placing ad bids that would ensure the largest revenue and profits are generated by winning as many campaigns as possible – preferably big campaigns. We also had to minimise the costs incurred to fulfill said campaigns.
My group’s agent would then compete with 24 other agents in a 7-hour trading competition where, despite our best efforts, it would end up placing 14th. Simply because we opted for a rational strategy instead of exploiting the randomness factor in the competition… but that is a discussion better left for another day.
So, after an endless amount of reading and understanding what it is we were required to do, one of the members (who also happens to be one of the most hard-working people I’ve had the pleasure of befriending in my short life so far) of our team recommended we use Bitbucket to manage our project.
Now, at the time, I was only familiar with GitHub and thought of it as just a means for finding similar projects to whatever coding assignment I may be working on at that point. Creating an actual repository and collaborating with others on a big project like this was the equivalent of walking into a department mixer where everyone knows each other’s names – except you.
Not to mention that I had never worked on a group coding project before, let alone use a Version Control System (VCS) to manage it. Not surprisingly, the whole situation so overwhelmed by my brain that I started second-guess my coding skills and even my decision to pursue a MSc in the first place. My teammates were doing the Git equivalent of drinking me under the table.
Thankfully, however, they were kind and patient enough to put up with my inexperience. They answered all the stupid questions I asked regarding Bitbucket, Git, and the project in general – thus helping me realise the importance of Git in the process.
Once the project was over and submitted, I realised just how insignificant my contributions had been thanks to my lack of experience with Git. It was around this point when I strolled across the Bitbucket tutorials. Through them, I finally learnt how to create a repository via the Git terminal rather than creating one directly from the Bitbucket site. Yes: despite having an undergraduate degree in software engineering, I had so little exposure to Git that even being able to use Git Bash to do simple things like clone, pull, and push commits was mind-blowing for me.
Fast-forward to today, and the tutorials have made me so confident using Git that the first step I take now before embarking on any coding venture is to create a repository. Not only does this allow me to make my projects available to potential collaborators, it also helps me direct potential employers to the coding projects I have worked on (or am currently working on). It’s nice to be able to prove that I truly possess the technical skills I claim to have on my resume.
Although it is through Bitbucket that I learnt (and am currently in the process of mastering) the wonders of Git, most of my projects are currently based on GitHub right now. But I’ve already started migrating these to Bitbucket and make that my primary tool for project management.
Why, you ask? Well, it’s simple. The free version of Bitbucket offers loads more features to play with than the free version of GitHub.
For example, Bitbucket have recently introduced a feature called code-aware search, which is an easy way to comb through large repositories and code bases. As a bonus, it forces you to get into the good habit of writing good, reusable code so that the semantic search algorithm used by the feature can return results in a ranked format. From what I know, GitHub does not offer this (or maybe you have pay for it).
Also, Bitbucket offers free academic licenses for students and professors, which lets you create unlimited repositories (both public and private) along with the ability to add an unlimited amount of collaborators. Seriously. It’s free, as long as you are a student at one of the academic institutions that Bitbucket offers these licenses to. And if your school isn’t on their list yet, you can get on the list here.
So that’s my story. I’d spent my entire undergrad career knowing that there’s this massive party called Git that everybody was going to, but too shy (and/or) busy to get myself invited to it. Thank you, Bitbucket, for pulling me in.
Calling all university students and professors! Learn how Bitbucket’s free academic license program can help your next project or class.
Git educated (see what we did there?)
By Joshua Tjhin on June 27, 2017
, builds start by downloading dependencies, accounting for a significant time of each build. Between each build, dependencies seldom change incremental. Builds can be faster if dependencies don need to be downloaded each time.
Today, we are excited to announce that Pipelines supports caching between builds. For in our Alpha group,
Adding a cache is simple. Here’s an example for adding a cache for node_modules.
- npm install
- npm test
We’ve pre-defined caches for several popular build tools. If your build tool doesn’t have a pre-defined cache, e in your bitbucket-pipelines.yml file. Caches are per repository and can be shared between your pipelines.
With this addition, we hope your developers are waiting less and coding more!
By Alastair Wilkes on June 21, 2017
Bitbucket webhooks are used by teams every day to test, analyze, deploy, and distribute great software to millions of people.
In a few weeks, we will be making a change to our network configuration that results in these services routing through different IP addresses. We plan to make this change no earlier than Monday July 10th.
If you’re using webhooks and have firewall rules to allow Bitbucket to communicate with your servers, you’ll need to add the new IPs to your rules before Monday July 10th.
The current source IP address range is:
The new source IP addresses will be:
As always, you can consult our documentation for the current list of supported IPs for webhooks.
By Amber Frauenholtz on June 7, 2017
Last month we announced the beginning of our Bitbucket Server & DC 5.x series with an enhanced focus on helping our customers achieve success. Today we’re taking aim at the management side of DevOps by making the administration of your development toolset easier with Bitbucket Server and Data Center 5.1.
Keep reading to learn about GPG signed commits, pull request deletion, and other new features in 5.1.
Download Bitbucket Server 5.1
For those practicing DevOps, Git has become the preferred version control system for its flexibility and speed. This flexibility is powerful but also extremely hard to control without a tool like Bitbucket. For organizations who need to run a tight ship (e.g. adhering to regulatory requirements), Bitbucket’s permissions, merge restrictions, and hooks help immensely. Coupling this with the committer verification hook, you can be assured that all the commits in Bitbucket are valid and secure. To learn more about toggling hooks on and off, see our repository hooks guide.
Next up is a to . Have you ever created a pull request by mistake? Or found a pull request to be obsolete? In Bitbucket Server 5.1, irrelevant pull requests can now be deleted instead of declined, leaving your PR history nice and clean. Pull request deletion is now by default for pull request authors and repository administrators.
Last year we brought code search to Bitbucket Server, allowing teams to search for code across all repositories stored in Bitbucket.
For teams making extensive use of forks, the process of building an index for search can use a fair amount of disk space. In Bitbucket Server 5.1, we’re introducing a way for administrators to keep search disk space under control by limiting what actually gets indexed. , which reduces disk space and provides refined search results.
Download Bitbucket Server 5.1
One more thing: In Bitbucket Server 5.1, we’re , allowing project admins to configure items, such as branching model and permissions, across all repositories in a project. To learn more about project level settings and other improvements and bug fixes in 5.1, see our release notes.
By Matt Ryall on May 31, 2017
Every team wants fast feedback from their CI system, which is why we’ve just added command durations to all Pipelines builds. Knowing which parts of your build take the longest gives your team the information to speed up your build and shorten your team’s feedback loop.
You can now see the duration for each command directly in the Pipelines log viewer. We’ve picked a consistent duration format for quick scanning, so your team can easily work out where your build time is going.
So what are you waiting for? Get building with Pipelines and make your build the fastest it can be.
By Joshua Tjhin on May 23, 2017
. You no longer need to copy and paste URLs from logs into your browser as Bitbucket will automatically turn them into links. Convenient for jumping to your deployed application!
Try Bitbucket Pipelines
By Alastair Wilkes on May 16, 2017
“Why was this change made again?” Issue keys referenced in commit messages help answer this question by providing a link with more context around why a particular change was made. They’re useful for everyone from new team members getting their bearings with a repo, to quality engineers reviewing the latest release, or a budding startup getting back to their weekend project.
Issue key references are so important that some teams need every commit to include a reference. These teams rely on issue keys to maintain diligent documentation or to automatically generate release notes or changelogs to verify every change. Historically, they could do this with pre-commit Git hooks on each developer’s machine to validate messages, but this solution adds a layer of overhead that becomes difficult to manage. For these organizations, we’re introducing the ability to require issue keys for commits in Bitbucket Cloud.
Required issue keys in Bitbucket Cloud
Requiring issue keys ensures each change links to an issue in commit messages. Bitbucket automatically converts mentioned issue keys (e.g. ‘PROJ-1234’ or ‘#1234’) into links to your issue tracker so it’s easy to stay coordinated between a change and its backstory.
Issue keys aren’t just a reference. They can be used to automate workflow actions: you can add comments or transition an issue to a different state just by mentioning it, making it easier for your team to go back historically for validation of changes. If you combine this with the new JIRA issue details view, you can view and comment on JIRA issues without even leaving Bitbucket. As a result, including issue keys has become a best practice and requiring them in commit messages will make it easier to scale your workflow.
Get started with required issue keys
If you’re new to Bitbucket, sign up for a Bitbucket Cloud account. If you’re an existing Bitbucket user and are already using JIRA Software, make sure it’s connected to Bitbucket. This connection enables Bitbucket to automatically link to your JIRA Software issues. If you’re using the Bitbucket issue tracker, issues are already linked automatically.
Then, navigate to the “Links” section of your repository settings and enable “Require issue keys in commit messages.”
Once enabled, Bitbucket will only accept pushes to your repo if all pushed commit message contain issue keys.
, the push will succeed, and the issue keys are automatically linked across Bitbucket, like in this pull request.
Try Bitbucket, it’s free
Not using JIRA Software and Bitbucket together?
JIRA Software is the preferred issue tracker of over 350,000 Bitbucket teams. Teams who have JIRA Software and Bitbucket integrated release 14% more often and close 23% more issues (when compared to teams using just one of those products).
Have more specific questions about this post? Reach out to us on Twitter to get the information you need.
By Claire Maynard on May 9, 2017
Bitbucket’s mission is to help teams solve real-world problems and accomplish their unique goals to change the world. Our customers select Bitbucket because it supports professional teams building things . We get inspired hearing about all the ways our customers are using our products to move our world forward.
We want to share what you’re doing with the rest of the world. Join our #Forthecode program and share your company’s mission and all the hard work done to accomplish it.
Share your company’s mission for a chance to be featured on our blog, our social media channels, and win some pretty cool swag!
How to enter:
Click on the Tweet button below and tell us how you’re using @Bitbucket to accomplish your company’s mission with the hashtag #Forthecode.
For example, Atlassian’s mission is to unleash the potential in every team. would tweet: “@Atlassian uses @Bitbucket #Forthecode that unleashes the potential in every team.”
To kick us off, check out some of the awesome ways our customers are using Bitbucket to accomplish their mission.
@Trulia uses @Bitbucket #Forthecode that finds your next home.
Bitbucket helps Trulia on large-scale agile development to provide home buyers and sellers essential information about the real estate market.
@Splunk uses @Bitbucket #Forthecode that makes big data, easy.
Bitbucket helped Splunk transition to Git and develop software that makes big data scalable and usable.
@Orbitz uses @Bitbucket #Forthecode that takes you on your next vacation.
Bitbucket helped Orbitz migrate to Git to develop the world’s leading online travel site.
What will your code do?
Tell us how you’re using @Bitbucket to accomplish your mission using hashtag #Forthecode or give Bitbucket try today!
Try Bitbucket, it’s free