Giter VIP home page Giter VIP logo

toggl-tempo-worklog-transfer's Introduction

Toggl to Jira timelog transfer

This is a little script that helps add Toggl timelogs to Jira. My workflow is this: I use the description field as normally and add the ticket number on the tags (because they are easy to add). Additionaly, I add a DD or FF flag to signal when work was done for those roles, but I'm not using that yet.

How to use

  1. Create a venv and install requirements with
pip install -r requirements.txt
  1. Set up a .env file with these variables:
TOGGL_TOKEN=

JIRA_URL=
JIRA_USER=
JIRA_PASSWORD=

You'll need to get your Toggl API token from the account settings. Add JIRA_URL without a trailing slash.

  1. Change this line on sync_timelogs.py to set the number of days you want to sync:
timelogs = toggl_driver.get_timelogs_last_n_days(1)
  1. Run it:
python sync_timelogs.py

Warning

This is still on early work, so if it hits any error, it'll probably stop. Make sure you check you timelogs for the correct format before syncing.

Contributors

Thanks for everyone who contributed with this and helped make it better!

  • @viadanna
  • @xitij2000
  • @nizarmah
  • @Agrendalath
  • @0x29a

toggl-tempo-worklog-transfer's People

Contributors

0x29a avatar agrendalath avatar arbrandes avatar dependabot[bot] avatar giovannicimolin avatar nizarmah avatar viadanna avatar

Watchers

 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.