I have velocity processed generic custom field 'Last comment', which uses velocity code "$util.returnLastCommentOfIssue($issue)" to return Last comment of issue.
When this field is used as a column in JQL search screen, it works fine. However, when the same field is used in WBS Gantt chart, instead of displaying last comment, velocity code is being displayed.
Velocity shows code when the code is invalid. In this case, I'd guess that the issues do not have any comments and the code does not trap that and display nothing instead.
You'll need the authors of the last comment field code to take a look at it.
Issues already have some comments and this behavior is only inside WBS Gantt chart column. If I include that custom field on Issue view screen, it is displaying the last comment content. I am guessing, WBS Gantt chart doesn't support velocity processed generic custom fields. I even tried some other velocity processed fields and noticed same behavior.
My name is Álisson, I'm from Ricksoft team and I would like to help you with this question.
If your question wasn't solved until the moment, can you please reach us out through our service desk, so we can better help you?
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events