In SystemWeaver, a Note is an informal comment on an item. They are not part of the versioning of the item which means that they should be not be treated as formal information. To export the content and properties of Notes, config item views can be used.
Exporting the Note Content
To export the content/text of a note(s), you need to configure a report.
Example XML
<Report> <ForEachNote type="NND"> <IssueNoteHeader/> <Description/> </ForEachNote> </Report>
Example Result
Filtering can also be added. HasNotes is used in the example below.
<Report> <ForEachNote type="NND"> <IssueNoteHeader/> <Description/> </ForEachNote> <Filter name="F1"> <HasNotes/> </Filter> <If filter="F1"> <Description/> </If> </Report>
Other filtering options are, e.g., NotesContains, NoteLastChanged.
Using a Grid to Export Note Properties
It is also possible to configure a grid to export the Note LastChanged and CreatedBy properties.
Note: It is not possible to include a note's text in a grid. |
Example XML
<Grid> <Columns> <TextColumn caption="Note">#{? . }</TextColumn> <TextColumn caption="Note Last Changed">#{? LastChanged.Format('') }</TextColumn> <TextColumn caption="Note Created by">#{? CreatedBy }</TextColumn> </Columns> <Row/> </Grid>