Giter Site home page Giter Site logo

toggl2redmine's Introduction

Toggl2Redmine

โš ๏ธ Currently under development! Use at your own risk!

Swift script that automatically transfers time entries from Toggl to Redmine.

Prerequisities

You have to obtain your access tokens for Redmine and Toggl. Then create a file at ~/.t2r/credentials.json with the following content

{
    "redmine": "{YOUR-REDMINE-TOKEN}",
    "toggl": "{YOUR-TOGGL-TOKEN}"
}

Instalation and usage

Using mint

$ mint install LukasHromadnik/Toggl2Redmine

Using Swift directly

$ git clone https://github.com/LukasHromadnik/Toggl2Redmine.git
$ cd Toggl2Redmine
$ swift run t2r

Binary

You can copy the binary to some directory in your $PATH, then you can run the application from Terminal.

If you are not a fan of Terminal, just copy the binary to some place where it'll be easy to find. If you want to use it, just double-click it.

Time entry format

In order for the script to recognise that the time entry should be sychronized, the title of the time entry has to start with the following format:

#{redmine-issue-id}:

After that it can be whatever text you want. The letter is not used within the synchronization.

Optionally you can specify a comment for the Redmine entry. Use [comment] to add comment to the entry.

By default the script clusters multiple entries per day and per Redmine task. As a result only one entry will be created in the Redmine. This entry has sum of durations of all appropriate Toggl's entries. Also all comments in those entries are joined.

Synchronization

The script uses tag with the name Synchronized to distinguish which time entries were synchronized and which weren't.

toggl2redmine's People

Contributors

lukashromadnik avatar lukasackee avatar olejnjak 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.