Bitbucket Integration in Zoho BugTracker

The new Bitbucket integration allows you to host your Git and Mercurial repositories and see source commits, right from within Zoho BugTracker.

AvailablePremium and Enterprise Plans

Access Privileges: Only the Portal owner and Admin can access the service hooks in Zoho BugTracker dashboard.

Create a repository in Bitbucket

  1. Login to Bitbucket with your login credentials.
  2. In Repositories tab, click Create repository to create a new repository.
  3. In Owner, select the owner from the drop down list.
  4. In Repository Name, specify the name for your repository.
  5. In Access Level, enable the option if your want your repository to be private.
  6. Select the Repository Type and click Create Repository to create a new repository.
  7. Click Import Repository, to import an already existing repository.

Copy service hooks URL of Zoho BugTracker

You must copy the Bitbucket URL in Zoho BugTracker to map the specific project with Bitbucket. 

In Projects, select the desired project, and then scroll down on the right side, to view SERVICE HOOKS and copy the URL of Bitbucket Integration

Set service hook in Bitbucket for Zoho BugTracker

  1. Login to Bitbucket with your login credentials.
  2. Select the desired repository and click Settings.
  3. In INTEGRATIONS, select Services from the left panel.
  4. Select POST from the drop down list and then click Add Service.
  5. In URL, paste the copied service URL from the Zoho BugTracker dashboard.
  6. Click Save to create a service hook for Zoho BugTracker in Bitbucket.

Note:

  • You can click Edit to edit the service hook URL.

Source commits in Bitbucket

  1. Login to Bitbucket with your login credentials.
  2. Select the desired repository.
  3. Click Source and then select the desired source file.
  4. Click Edit and modify the code as required.
  5. Click Commit and modify the message title, if required.
  6. Select the Create a pull request for this change check box, if required.
  7. Click Commit to save and submit the commit changes.

Note:

  • You can click Commits to view all the source commits.

View commit changes history in Zoho BugTracker

In Projects, select the required project, and then click Bugs. In List view, click the desired bug to view the commit changes history.

View all changesets in Zoho BugTracker

In Projects, select the required project, and click Bugs. And then click Changesets from the displayed option, to view all the changesets for the project.

Note:

  • If you specify a bug ID while committing changes in Bitbucket, the commit message automatically gets linked to that particular bug in Zoho BugTracker.
  • To associate changeset(s) with bug(s) in Zoho BugTracker you will need to give the BUG ID in your commit message.
    Syntax: OPEN SQUARE BRACKET #BUGID CLOSE SQUARE BRACKET followed by commit message.
    Example: [#EPI19] fixed the memory leak issue. This will associate the changeset for the bug with ID EPI19.
  • To associate more than one bugs, provide the BUG IDs separated by a comma.
    Example: [#EPI19,#EPI20] changed the DB name.

 

Related Topics

Github Integration