This simple app allows you to insert json taken from JIRA worklog-query:
http://host/jira/rest/jira-worklog-query/1.2.1/find/worklogs?startDate=2016-06-01&endDate=2016-06-30&user=VojTosand then extract and calculate total time, spending on different tasks by different users.
You should have installed and properly configured:
- Java JDK (>= 7)
- Scala (version >= 2.11.8)
- Simple Build Tool (SBT) (version >= 0.13.9) for building Scala (JVM) and Scala.js projects
- Go to the project root folder.
- Run
sbtfrom the command line. - Build application by running
fullOptJS(it will generate the minified version of script). - open
view/jira-time-extractor.htmland check if the path to generated JavaScript conforms to the generated JavaScript (fromtarget/scala-2.11). For example if generated file has namescalajstemplate-opt.jsfull path inview/jira-time-extractor.htmlshould look like<script type="text/javascript" src="proxy.php?url=https%3A%2F%2Fgithub.com%2F..%2Ftarget%2Fscala-2.11%2Fscalajstemplate-opt.js"></script>. Correct this if needed.
- Go to
viewfolder and openjira-time-extractor.htmlin your favorite browser.