Few utilities for better manipulation with JIRA's issues and subtasks.
- Lists subtasks for tasks specified on command line. You can specify username and password as a parameter. If not specified, script asks for them.
- Load subtasks to JIRA with CSV as a source
- Label issues with given labels (it preserves old labels)
mvn clean compile assembly:single
Display stories and subtasks
java -jar target/jam-0.0.1-SNAPSHOT-jar-with-dependencies.jar -s DDT-525,DDT-493 -u dezider.mesko
Load subtasks to JIRA
java -cp target/jam-0.0.1-SNAPSHOT-jar-with-dependencies.jar jira.agile.monitor.AddSubtasks -f subtasks-example.csv -u dezider.mesko
Label stories and subtasks with given labels and preserve old one
java -cp target/jam-0.0.1-SNAPSHOT-jar-with-dependencies.jar jira.agile.monitor.Labels -s DDT-2242 -l test1,test2 -u dezider.mesko
Usage: Labels.groovy <-s story> <-l labels> [-u] [-p]
-s stories i.e. -s DDT-523,DDT-234,PCI-3242
-u username
-p password (if not provided, script asks for it)
-l labels i.e. -l label1,label2
--skipSubtasks
--showLabelsOnly just show current labels and do nothing
--subtract remove given labels