5 ms·
Sure! It's in my dotfiles. You can find it here [1]. There's the `excel` subcommand you probably don't need and you'll need to export the JIRA_TEMPO_USER and J
by cpclermont 7y ago
Sure! It's in my dotfiles. You can find it here [1].
There's the `excel` subcommand you probably don't need and
you'll need to export the JIRA_TEMPO_USER and JIRA_TEMPO_TOKEN variables before running it.
- `JIRA_TEMPO_TOKEN` can be found in the Tempo Settings
- `JIRA_TEMPO_USER` can be found by inspecting the requests sent to tempo from JIRA IIRC.
[1]: https://github.com/charlespwd/dotfiles/blob/master/bin/tempo https://github.com/charlespwd/dotfiles/blob/master/bin/tempo
EDIT: Confirmed, I found my `JIRA_TEMPO_USER` as the only accountID sent as parameter the POST https://app.tempo.io/rest/tempo-timesheets/5/private/days/search https://app.tempo.io/rest/tempo-timesheets/5/private/days/se... when booting up the app in JIRA.
- klohto 7y agoThank you! Gonna tweak it a bit but it’s a great base for what I was just looking for :)