- PowerShell 7.x
winget install Microsoft.PowerShell
- powershell-yaml (For PoshJiraTimeTrackerPublisher only)
Install-Module -Name powershell-yaml -AllowClobber -Scope CurrentUser -Force
git clone git@github.com:felipegodias/PoshTimeTracker.git
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
Import-Module <REPOSITORY_PATH>/PoshTimeTracker.psm1 -ArgumentList <ENTRIES_SAVE_FILE_PATH>
Import-Module <REPOSITORY_PATH>/PoshJiraTimeTrackerPublisher.psm1 -ArgumentList <CONFIG_FILE_PATH>
Start-Timer [-Tag <TAG>] [-Description <DESCRIPTION>]
Stop-Timer
Get-TimerEntry [-Tag <TAG>] [-From <FROM>] [-To <TO>]
Remove-TimerEntry [-Id <ID>]
---
JiraUri: "https://<ORGANIZATION>.atlassian.net"
JiraUser: "<JIRA_USER>"
# https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/
JiraApiKey: "<API_KEY>" # Optional! If not set the publish cmdlet will prompt the user for the credentials.
Publish-TimerEntryToJira