Code Monkey home page Code Monkey logo

toggl_to_jira's Introduction

Introduction

JIRA is a great tool to manage projects, but it's a lot of hassle to manually log time spent on tickets.

Toggl is a really good time tracking tool.

This script aims to merge the good parts of these 2 tools together. It allows you to easily import time log from toggl to JIRA. I used it on JIRA 4.4.4.

Check this blog post for more thoughts behind this tool.

Configuration

  • Install the latest ruby 1.8.x. 1.9 is not supported because of jira4r gem.
  • Install the latest rubygems.
  • Install required gems gem install activesupport json soap4r jira4r
  • Copy config.example.yml to config.yml, fill your own configuration vaues.

How to Use It

  • Log time in Toggl. Include JIRA issue key in log description or project name.
  • Run the script ruby toggl_to_jira.rb to import each Toggl entry into its corresponding JIRA issue by the JIRA issue key in description or project name. By default it will import all logs today, except already imported ones. You can adjust "start_time" and "end_time" in config.yml to set time range of importing.

It will create a file "imported.yml" to store entries which are successfully pushed to JIRA, so they won't be imported into JIRA again. This list keeps 500 entry IDs at most.

toggl_to_jira's People

Contributors

broom9 avatar highruned avatar

Stargazers

daft 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.