Information Technology Reference
In-Depth Information
def commentManager =
ComponentManager.getInstance().getCommentManager()
def numberOfComments =
commentManager.getComments(issue).size()
return numberOfComments ? numberOfComments as Double
: null
9. Select
Number Field
for
Script Template
, and click on
OK
as shown in the fol-
lowing screenshot: