0.0.13 • Published 4 years ago

juli v0.0.13

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Jira Ultimate Log Importer

Imports Worklogs from a Timesheet-File into Jira Tempo.

Be aware that this is a early alpha and may alter your worklogs in an unpredicted way!

Installation

  • npm i -g juli
  • yarn global add juli

Usage

$ juli <timesheet-file> [Params]

Params

  • -s: Save the credentials entered in the home directory for the next use.
  • -a: Sync every day in the timesheet file, ignoring the default of one week.

Syntax of the Timesheet

# <DATE>
<START_TIME>
    <ISSUE-KEY>: <DESCRIPTION>
<END_TIME / START_TIME_OF_NEXT>
    <ISSUE-KEY>: <DESCRIPTION>
<END_TIME>
    // An empty body represents a break
<START_TIME>
    <ISSUE-KEY>: <DESCRIPTION>
<END_TIME>

# <DATE>
...
  • Format of the date: d.M.[YY]
  • Format of the the time: h[:m]
  • : <DESCRIPTION> can be omitted, if there is an existing issue-definition on the same day already.
  • // At the beginning of a line represent comments which will be ignored

Example

# 22.1.
8
    XYZ-60: Wrote Readme
9:20
10
    XYZ-60: Published Package
11

Be aware

You can execute the command multiple times to update your remote logs. juli uses the specified logfile as a source of truth (for the last week). That means, entries you delete in the logfile will be deleted in jira as well, as long as they are in the current tempo week.

Entries, that were added manually or through other tools are not affected by this.

Additional commands

  • updateHost: Update the saved Jira host.
  • updateCredentials: Update the saved credentials.

Todo

  • Support One-line definitions.
  • Make the deletion of old items optional to not force the user to keep his logs for one week
  • Add the possibility to define reoccurring entries in a config
  • Let the user specify a custom entry range
  • Use a better Framework for CLI-Parsing
  • Add Opmet integration.
  • Add Verbose-Flag

If you want to help, visit the Repo

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.5

4 years ago

0.0.6

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago