Page 1 of 1

How do I show all comments for a work item

Posted: Tue Oct 21, 2008 10:05 am
by DetroitJ
Is there a way to list all of the comments for a particular work item?

Re: How do I show all comments for a work item

Posted: Tue Oct 21, 2008 10:33 am
by shannon
You need to get the MantisItemFullDetail object (from ProcessCommandListFortressItemFullDetails). Then loop through the MantisItemCommentColl (MantisItemFullDetail.Comments).

Re: How do I show all comments for a work item

Posted: Tue Oct 21, 2008 10:48 am
by DetroitJ
Thank you. I was trying to find something to use in FortressItemExpanded.

Re: How do I show all comments for a work item

Posted: Tue Oct 21, 2008 10:57 am
by shannon
Yeah, that encapsulation makes it easy to add/modify work items, but to get to the full item MantisItemFullDetail is the way to go.