Hello !
From the community, is it possible to have a little example of a code in velocity that prints all comments done in a review ? I am on a server hosted 8.62 JAMA.
It has to be a velocity report (I already know BIRT stats comments report).
It must be
not context sensitive.
I show the following code, that must not be so far... but no success for the moment
#set( $iComments = $commentDao.getRevisionItemCommentCount($ri.id, false))
#set( $SamListOfDocuments = $documentSource.getActiveDocumentIdsInProject($foundProject.id))
#set($commentCounter = 0)
#if ($iComments != 0)
#foreach($localDocument in $SamListOfDocuments)
##$commentDao.getComments($localDocument)
#foreach($localComment in $commentDao.getComments($localDocument))
##set($commentCounter = $commentCounter+1)
##if(#$localComment.getCommentText() != "")
##Comment $commentCounter: $localComment.getCommentText()
##end
##end
##end
##end
Thank you :-)
------------------------------
Samuel LE COZE ULSHYNA
Mercury Missions System Intl
Geneva
------------------------------