Bitbucket Source Code Integration

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

  1. Login to Zoho BugTracker with your login credentials.
  2. In Home section, click Projects.
  3. In Projects list view, select the desired project.
  4. Hover over Users and then click the enabled Project Settings.
  5. Click Service Hooks tab and then copy the Bitbucket Integration URL to paste in Bitbucket.

    service-hooks

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 BugTracker

  1. In HOME section, click Projects.
  2. In Projects list view, click the desired project.
  3. Hover over Bugs and then click Bugs from the displayed options.
  4. Click the desired bug to view the commit changes history.

    bug-commit

View all changesets in BugTracker

  1. In HOME section, click Projects.
  2. In Projects list view, click the desired project.
  3. Hover over Bugs and then click Changesets from the displayed options.

    all-changeset
  4. In All Changesets, you can view all the changesets for that project.

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

Top