Bitbucket Source Code Integration

Bitbucket Source Code Integration

You are here

Bitbucket Integration in Zoho BugTracker

The new Bitbucket integration allows you to host your Git and Mercurial repositories, see source commits and make code changes right from within Zoho BugTracker. In addition, Bitbucket provides free, unlimited private repositories up to five developers that gives your team the flexibility to manage codes online.

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.

bitbucket integration

Create a repository in Bitbucket

  1. Login to Bitbucket with your login credentials.
  2. Click Create.
    create-repository
  3. In Name, specify a name for your repository.
  4. In Description, specify additional details about your repository.
  5. In Access level, select the check box, if it is a private repository.
  6. In Forking, select the access access level for the repository.
  7. In Repository type, select the desired option.
  8. In Project management, select the desired option.
  9. In Language, select the desired code option.
  10. Click Create repository to create a new repository.

Set service hook in Bitbucket for Zoho BugTracker

  1. Login to Bitbucket with your login credentials.
  2. Select the desired repository.
  3. Click Administration and then click Hooks from the left panel.
     
    hooks-admin
  4. Search and select the hook POST and then click Add hook.
    post-hook
  5. In URL, paste the Service Hooks URL copied from Zoho BugTracker.
     
    paste-url
  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.
     
    edit-source
  4. Click Edit and modify the code as required.
  5. Click Commit and modify the message title, if required.
     
    commit-changes
  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.

gbug-commit

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.

all-changeset

Note:

  • If you specify a bug ID while committing changes in Bitbucket, the commit message automatically gets linked to that particular bug in 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 comma.
    Example: [#EPI19,#EPI20] changed the DB name.
     
commit-sample

Related Topics

Github Integration