Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mercuso/clockify-jira-timesync
Move daily worklog from Clockify to Jira
https://github.com/mercuso/clockify-jira-timesync
clockify jira nim timereport worklog
Last synced: 10 days ago
JSON representation
Move daily worklog from Clockify to Jira
- Host: GitHub
- URL: https://github.com/mercuso/clockify-jira-timesync
- Owner: Mercuso
- License: mit
- Created: 2022-04-03T19:07:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-19T16:31:03.000Z (over 2 years ago)
- Last Synced: 2024-05-07T08:37:05.046Z (7 months ago)
- Topics: clockify, jira, nim, timereport, worklog
- Language: Nim
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CJ-timesync
CLI tool for moving the daily worklogs from Clockify to Jira## Requirements for Clockify worklogs format
Format for Clockify task description:
`[DEV-] `
Example:
`[DEV-420] smoke testing`## Build and configuration
Build the binary from the source code:
```bash
nim build
```Collect all the required values for environment variables:
- **JIRA_HOST** - your company's Jira hostname. Example: _https://{yourcompanyname}.atlassian.net_
- **JIRA_USERNAME** - your Jira account email
- **JIRA_TOKEN** - personal token for using Jira API. [Here](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/) is the instruction how to use it
- **CLOCKIFY_API_KEY** - API key for you Clockify account
- **CLOCKIFY_WORKSPACE_ID** - ID of the workspace where the target Clockify project located
- **CLOCKIFY_TARGET_PROJECT_ID** - ID of the project for which you want to move time entries to JiraSet these values as an anvironment variables
## Usage
Run the command with target date as an argument:
```bash
./bin/syncTimeEntries 2022-04-03
```
if argument is not provided, the current day will be used by default