Created
May 3, 2019 08:35
-
-
Save jechlin/e8ddfd5053791628a1527bd66c8ce5d0 to your computer and use it in GitHub Desktop.
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
def subtasks = issue.subTaskObjects | |
if (issue.isSubTask() || !subtasks) { | |
return null | |
} | |
def resolved = subtasks.count { it.resolution } | |
"${resolved} / ${subtasks.size()}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment