LambdaTest DocumentationLambdatest Integrations ● Bitbucket Integration

Bitbucket Integration

Bitbucket – A web-based repository hosting service owned by Atlassian for facilitating version control in development projects. It supports the project with a revision control system based on either Git or Mercurial. It is free to use, though they also offer a commercial plan. With Bitbucket, you can perform access control to your source-code, workflow control to impose a project workflow. Easy code revaluation through pull requests offering in-line annotation & Integration with Jira for end-to-end development tracing.

The LambdaTest Bitbucket Integration allows you to create an issue directly in your repository from LambdaTest platform. Push an issue to your respective repository anytime, even in the middle of your test session. The fields populated by you when marking as a bug through LambdaTest are displayed as information on the issue in the repository for a testing instance.

Bitbucket Integration with LambdaTest, like all of our other integrations to 3rd party applications, is available for freemium as well as premium plan.

How To Integrate Bitbucket With Your LambdaTest Account?

Step 1: Login to your LambdaTest account. You would need to have Admin or User level access to see and install integrations.

Step 2: Select ‘Settings’ from the left navigation menu bar & click on ‘Integrations’. This will guide you to a screen where you will find a list of 3rd party applications, available to integrate with your LambdaTest account.

Step 3: Click on ‘INSTALL’ under the block that says ‘Bitbucket’.

Bitbucket Integration Image

Note: Make sure you have an account signed up with Bitbucket before you begin the integration. If you don’t have then you will be redirected to a screen where you can create one. If you already have an account setup for any of the Atlassian tools then you may use the same credentials as that one.

Bitbucket Integration Image

Once you click on the sign up button, you will be asked to provide a unique username. After providing the username, you need to hit ‘Continue’.

Bitbucket Integration Image

Step 4: Once you are logged in to your account, go to integrations in LambdaTest and hit install under ‘Bitbucket’.

Bitbucket Integration Image

As you hit “INSTALL”, you will be directed to an authentication page. Here you will need to grant LambdaTest the access to your user-owned resources on Bitbucket. Hit on the blue button that says “Grant access”.

Bitbucket Integration Image

  • Why we ask for your login credentials?
  • Bitbucket APIs uses OAuth 2.0’s authorization code grant flow for generating access tokens on user’s behalf.

  • What is an Access token?
  • Access tokens are strings with authorization key required to access an API. They are issued to the client-server and are usually opaque. They are used for requesting access to protected, user-specific resources. Access tokens are vital from a security point of view & can be generated in different formats, depending upon security requirements specified on the resource server.

That is it, you will be notified with a prompt message on top mentioning that Bitbucket is successfully installed. If you look at your Integrations again and you will be able to notice a green tick indicating the same. You can now experience bug logging in a fly from any of your running test session in Lambdatest to your respective repository directly by a single click.

Bitbucket Integration Image

Logging Your First Bug Through Bitbucket Integration?

Note: Enable the Issue tracker in your respective Bitbucket repository. For enabling the Issue tracker:

  • Visit your repository.
  • Go to Settings.
  • After settings, click on Issue tracker. You will find it under FEATURES.
  • Select the button for Public issue tracker & hit Save.

Bitbucket Integration Image

Step 1: Go for any of the test from the left navigation menu. For demo, we will be taking “Real Time Test” option.

Step 2: Present a URL of the web-app you need to test in the dialog box. After that, select any configuration for browser and operating system of your choice & hit ‘Start‘.

Bitbucket Integration Image

Step 3: After the VM is launched and operable. You can perform testing on your web-app for finding bugs. If a bug gets revealed, then you need to click on the camera icon from the left panel for capturing a screenshot of the same. We have highlighted that option with yellow in the below image.

Bitbucket Integration Image

Step 4: After a screenshot is captured, you can annotate any issue or a task with an in-built image editor. Once you are done highlighting the bug, click on the button that says “Mark as Bug”.

Bitbucket Integration Image

When marking as bug, make sure that you have a repository already created into your Bitbucket account. If you don’t have one then you will be encountered with an error message as displayed in the below image.

Bitbucket Integration Image

Step 5: If you are up and ready with a repository, then once you click on “Mark as Bug” button a Bitbucket specific form would open up. Fill the fields as per your requirement.

  • You can choose out of your ‘Repositories’, for logging your UI observation.
  • You can set the appropriate ‘Label’ for the same.
  • You can assign it to a colleague by populating the field ‘Assignee’.
  • You also get to post a ‘Description’ to help relate the cause of the issue or the task.

Bitbucket Integration Image

Step 6: Click on “Create Bug” & observe it being successfully marked through a single click effort. Once you hit the button, you will get prompt messages on top of your Virtual Machine indicating the progress of bug logging. You will get a prompt message in few seconds mentioning “Bug successfully marked” indicating that the UI observation has been pushed to your Bitbucket repository.

Jira Integration Image

Step 7: Visit your repository. You will be able to notice the logged issue right away under the Issues tab on the left.

Bitbucket Integration Image

Click on the Issue title. All the data you provided through Lambdatest would already be presented in it. LambdaTest automatically includes test environment details and related screenshots under your work in Bitbucket. You will also find a clickable link that will open the screenshot attachment.

Bitbucket Integration Image

How To Uninstall Bitbucket Integration?

You can work with one integration at a time. So if you would want to integrate to a similar 3rd party application, then you would have to uninstall your current integration. Here is how you can do that.

Step 1: Login to your LambdaTest account.

Step 2: Select ‘Settings’ from the left navigation menu bar & click on ‘Integrations’. This will guide you to a screen where you will find 3rd party applications, available to integrate with your LambdaTest account.

Step 3: Click on ‘Uninstall’. You can find the uninstall button right under the ‘Bitbucket’ block which would be highlighted with a green tick.

Bitbucket Integration Image

That was all you need to know for LambdaTest + Bitbucket Integration. Increase your productivity with our integrations. If you still have any questions for us, please feel free to let us know. Our experts are always available on chat to help you out with any roadblock regarding our product. Happy testing!