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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Excel Template Comments/attachments

Labisch
7-Bedrock

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

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