Github Source Code Integration

Github Integration in Zoho BugTracker

Github integration allows you to host your repositories, see source commits and make code changes right from within Zoho BugTracker. So, now you can view all the changes made in your Github repository in Zoho BugTracker.

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 Project ID and Token value URL of Github Integration to paste in Github.
    gservice-hooks

Create a repository in Github

  1. Login to Github with your login credentials.
  2. Click New repository.
    gnew-repository
  3. In Repository name, specify a name for your repository.
  4. In Description, specify additional information about your repository.
  5. Select Public or Private to indicate access privileges for the repository.
  6. Select the Initialize this repository with a README checkbox to clone the repository, if required.
  7. Click Create repository to create a new repository.

Set service hook in Github for Zoho BugTracker

  1. Login to Github with your login credentials.
  2. Select the desired repository.
  3. Click Settings and then click Service Hooks from the left panel.
    ghooks-settings
  4. Search and select the hook Zoho Projects from the Available Service Hooks options.
    gzoho-hook
  5. In Project ID and Token, paste the  Project ID and Token copied from Zoho BugTracker.
    gurl-paste
  6. Click Update settings to create a service hook for Zoho BugTracker in Github.

Source commits in Github

  1. Login to Github with your login credentials.
  2. Select the desired repository.
  3. Select the desired source file to edit.
    gedit-source
  4. Click Edit and modify the code as required.
  5. In Commit summary modify the summary title, if required.
  6. In Extended description: (optional), specify additional information, if required.
    gedit-commit
  7. Click Commit Changes to save and submit the commit changes.

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.

    gbug-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 Github, the commit message automatically gets linked to that particular bug in BugTracker.
  • 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.

Top