cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Excel Template Comments/attachments

Labisch
4-Participant

Excel Template Comments/attachments

Hello,

 

based on https://codebeamer.com/cb/wiki/1563473  and the example there, I try to export more than just comment (at.description).

Mainly, I look for the template code to get the user who created the comment, but I'd appreciate a (link to) the full structure definition much more.

 

So far I tried ( <jt:forEach items="${item.attachments}" var="at">${at.id}</jt:forEach>)

at.createdBy (gives me an empty cell)

at.name (filename of the attachment)

at.createdAt (two comma seperated numbers... any hints?)

at.id (not sure which id I get her, I guess the comment's id)

at.version (seems like the version of the comment)

at.comment (mostly empty. Once I got the text "description" which is nowhere in the item. It was only in a comment which was edited and had version=2)

 

 

1 REPLY 1
Istvan_Molnar
6-Contributor
(To:Labisch)

Hello @Labisch, please try the attached template, hope this answers your question.

 

The following attributes are exported:

  • Comment - ${at.description}
  • Commented at - ${at.createdAt}
  • Commented by -  ${at.owner.name}
Announcements



Top Tags