Hi,
We are using the Export Template feature to create Word documents with a summary of JIRA issues from R4J.
We are looking for a way to enhance the reports by finding/exporting comments in the issues which contain keywords.
We know we can export ALL comments...
[[\if $.comments.count > 0]][[\each $.comments]][[$.]][[/each]][[/if]]
Or the first comment added...
[[\if $.comments.count > 0]][[\wiki $.comments.item(0)]][[/wiki]][[/if]]
But we would like to dynamically identify and export interesting comments by any means necessary. Is there anyway to using wildcards or startswith() functions, etc to pattern match text in a comment?
For examples I would that would look something like one of these three options:
[[\if $.comments.count > 0]][[\each $.comments]]
[[\if $. = "/*SomeKeyword/*"]][[$.]][[/if]]
[[\if $. ~ "SomeKeyword"]][[$.]][[/if]]
[[\if $.startswith() = "SomeKeyword"]][[$.]][[/if]]
[[/each]][[/if]]