Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Velocity processed custom field displaying 'velocity code' instead of return value. Edited

Hi all,

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.

Any solution?

Thank you

2019-11-11_10h46_58.png

2 answers

0 votes

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.

Hai Nic,

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.

Hello @Vaishakh Gurumurthy Mehendale 

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?
https://ricksoft-support.atlassian.net/servicedesk/customer/portal/3

Best regards,
Álisson

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you