Giter Club home page Giter Club logo

zenhub_integration's Introduction

Zenhub Integration

This is a fairly opinionated ERPNext App that automatically turns your ZenHub Sprint into a Project on ERPNext.

Why?

Well, we wanted to move our internal time tracking to ERPNext because our currently solution was really just okay.

The idea is to use our Desktop Time Tracking app to connect to ERPNext, so that we can pull tasks and track time against them.

Data Mapping

Firstly, we have some labels we use on our GitHub Issues that we're gonna use to map some ERPNext features.

  • Client: [Client-Name]
  • Priority: [Low/Medium/High/Urgent]

This is the mapping that happens between Zenhub + Github and ERPNext :-

  • Each Issue is a Task
  • Each Epic is a Parent Task with Tasks under it
  • Each Client is a Customer
  • Each Sprint (Milestone) is a Project
    • However, if you're using the client label, the script will create separate projects for each client, and one catch-all project for issues without a client

The Script deliberately only pulls issues that have a milestone, this is to reduce clutter

Custom Fields

There are some Custom fields that also get injected, here's the extra data you'll also get in the Task Document

  • Estimate
  • Github Issue Link
  • GitHub Sync ID (Hidden)
  • GitHub Issue Number (Hidden)

Some gotchas

The subject field of "Task" has a limit of 140 characters, so, when pulling from Github I truncate it to 140 characters max. However, the full issue title gets stored in a custom field called "Issue Text".

zenhub_integration's People

Contributors

vjfalk avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.