Created
May 27, 2015 14:56
-
-
Save paulschreiber/617bf4a51bd710c2275e to your computer and use it in GitHub Desktop.
ZenDesk ticket summarizer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery('script').each(function(index, element) { | |
v = jQuery(this).text().match("(?:Task|Problem|Question|Incident|Ticket) #([0-9]+).+\closed..(normal|high|low|urgent)"); | |
if (v) { | |
console.log(v[1],v[2]); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment