Syncs data back and forth between Shotgun and Toggl
This package allows to take Shotgun tickets and turn them into Toggl projects (shotgun2toggl
) and to take Toggl event data and submit them as Time Logs on Shotgun tickets (toggl2shotgun
).
Both scripts will ask for your Shotgun and Toggl credentials on startup and will save them in a file name ~/.toggl2shotgun
. It will reuse them on successive runs.
- Open a Toggl account at toggl.com/signup. It's FREE!
- Go to your profile page and get your API token. Keep that page open because you will need it the first time you launch any of the scripts.
- Visit your workspaces page and create a workspace named
Shotgun
. This is where your tickets will be tracked.
This script will create Toggl projects with the name #shotgun_ticket_number shotgun_ticket_title
inside Toggl's Shotgun
workspace. If the project already exists, it will ensure that the shotgun_ticket_tile
part is up to date with the title in Shotgun.
This script will create Shotgun Time Logs on tickets for every project time log that exist in Toggl for the last 7 days. You can change the period of time using the --start
and -end
command line arguments.