Log JIRA worklogs via a text file
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel Mason 803575dd13
Add extra line validation
2 weeks ago
timesheets Initial Commit 1 year ago
.env.example Update .env.example 1 year ago
.gitignore Update repo 4 months ago
README.md Update error message 4 months ago
consts.go Update repo 4 months ago
go.mod Update repo 4 months ago
go.sum Update repo 4 months ago
jira.go Update error message 4 months ago
logger.go Update repo 4 months ago
main.go Update repo 4 months ago
state.go Working prototype 4 months ago
timesheet.go Add extra line validation 2 weeks ago
utils.go Working prototype 4 months ago

README.md

Jira Timetracker

Loads textfiles into JIRA as timesheets. WORK IN PROGRESS.

I started this project so I could keep a local copy of my timesheets in human readable formats with easy references to common tickets

Config

Copy the config and fill in the blanks. cp .env.example .env

The state will be stored under timehseets/.state.json.

WARNING: Remove this file will cause any previously logged worklogs to reupload.

Usage

Create your timesheet file, then simply run the binary.

go run .

Backing up

To backup, keep the timesheets/* directory INCLUDING .state.json

Formatting

Directory Structure

timesheets/2021-01.txt
timesheets/2021-02.txt

File Structure

# Y-m-d Gi TicketNumber HoursLogged Description    
2020-02-24 0600 JIRA-12345 2.0 Testing CSV Timesheet uploads
2020-02-24 0800 JIRA-12345 0.25 Testing CSV Timesheet uploads part 2