Giter Site home page Giter Site logo

toggl-to-jira's Introduction

Introduction

Simple utility CLI app that can be used to automate the logging of working hours in JIRA from a Toggl Track account.

Motivation

At the beginning of every week I have to read my weekly summary report in Toggl Track, review it, and then create correspondent log registries in JIRA. This takes some time since I have to open all issues in JIRA and manually log my work.

This utility has two main features. The command display, which shows a report of logged hours for the week before the current one (or, in fact, for the n-th week before the current one if you provide an integer after 'display' in the command line).

The other one is the command post, which creates all time entries from Toggl as working logs in JIRA, if that entry's description follow a given standard in its description: "PROJECT-123: Do this and that" or simply "PROJECT-123". That is, the description must start with a JIRA project key.

Usage

  1. Firs things first: compile the project using java 11 and gradle 7.4.1 or above.
  2. A "fat jar" is going to be generated at app/build/libs/app-standalone.jar. Execute java -jar <fat_jar_path> to see extremely simple usage instructions.
  3. Also, copy the file config.properties.tmpl into a file in the folder from which you intend to call the cli app. Rename it to config.properties and update the content with the information asked.
  4. Now run java -jar <fat_jar_path> display in order to see your "report". You can also see the report for the current week with the command java -jar <fat_jar_path> display 0
  5. If you are ok with the report, post the entries to JIRA with java -jar <fat_jar_path> post.

toggl-to-jira's People

Contributors

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