diff --git a/www/docs/migrations/tempoit.md b/www/docs/migrations/tempoit.md new file mode 100644 index 0000000..c2fb57e --- /dev/null +++ b/www/docs/migrations/tempoit.md @@ -0,0 +1,29 @@ +Migrating from [Tempoit](https://sr.ht/%7Eswalladge/tempoit/). + +## Recommended config + +```toml +# Source config +source = "timewarrior" +source-user = "-" + +# Timewarrior config +timewarrior-arguments = ["log"] +timewarrior-client-tag-regex = "^(oc)$" +timewarrior-project-tag-regex = "^(log)$" + +# Target config +target = "tempo" +target-user = "" + +# Tempo config +tempo-url = "https://.atlassian.net" +tempo-username = "" +tempo-password = "" + +# General config +tags-as-tasks = true +tags-as-tasks-regex = '[A-Z]{2,7}-\d{1,6}' +round-to-closest-minute = true +force-billed-duration = true +``` \ No newline at end of file diff --git a/www/docs/migrations/toggl-tempo-worklog-transfer.md b/www/docs/migrations/toggl-tempo-worklog-transfer.md new file mode 100644 index 0000000..28a366e --- /dev/null +++ b/www/docs/migrations/toggl-tempo-worklog-transfer.md @@ -0,0 +1,34 @@ +Migrating from [Toggl to Jira worklog transfer](/~https://github.com/giovannicimolin/toggl-tempo-worklog-transfer). + +!!! warning + + To get your Toggl user ID, please check the [source documentation](https://gabor-boros.github.io/minutes/sources/toggl/) + of Toggl. + +## Recommended config + +```toml +# Source config +source = "toggl" +source-user = "" + +# Toggl config +toggl-api-key = "" +toggl-url = "https://api.track.toggl.com" +toggl-workspace = "" + +# Target config +target = "tempo" +target-user = "" + +# Tempo config +tempo-url = "https://.atlassian.net" +tempo-username = "" +tempo-password = "" + +# General config +tags-as-tasks = true +tags-as-tasks-regex = '[A-Z]{2,7}-\d{1,6}' +round-to-closest-minute = true +force-billed-duration = true +``` \ No newline at end of file diff --git a/www/mkdocs.yml b/www/mkdocs.yml index b385167..7233a36 100644 --- a/www/mkdocs.yml +++ b/www/mkdocs.yml @@ -68,6 +68,9 @@ nav: - Toggl Track: sources/toggl.md - Targets: - targets/tempo.md +- Migrations: + - From "Tempoit": migrations/tempoit.md + - From "Toggl to Jira": migrations/toggl-tempo-worklog-transfer.md - Contributing: CONTRIBUTING.md - Changelog: CHANGELOG.md - License: LICENSE.md