Skip to content

Instantly share code, notes, and snippets.

@caseywatts
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caseywatts/20349c88ba8527754f9c to your computer and use it in GitHub Desktop.
Save caseywatts/20349c88ba8527754f9c to your computer and use it in GitHub Desktop.
Autoload Events into PPM
//Input Project
name = " - Student Developer & Mentorship Program (Support) - Management"
jQuery('[doy=245] .project textarea').click()
jQuery('body').find(':last').parent().parent().find("a:contains("+name+")").click()
//Input Application
name = "Shifts"
jQuery('[doy=272] [placeholder="Application"]').click()
jQuery('body').find(':last').parent().parent().find("a:contains("+name+")").click()

I keep track of my PPM time separately, and I'd love to be able to run a script to run over a list like this to just upload it instead of spending 3+ hours each month inputting it manually.

date time Project/RTS Activity Type Application
2014-09-29 .5 Web Team Lead RTS Routine & Maintenance Services Shifts
2014-09-29 2 SDMP RTS - Community Collaboration and Advisement

##ToDo

  1. get a more robust way to find the popup screen - maybe check for visible ones?
  2. encapsulate in a function that accepts a string as "
  3. make a better way to find the current day, [doy=###] doesn't seem terrible but I'm not sure it's reliable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment