Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Nice feature with small polish in DiffUtils and JiraVelocityHelper



Could you help me understand please, 

at the moment the $context.diffUtils and $context.jiraVelocityHelper implemented in last version. That's wonderful! 

I am pretty happy to see that feature. 

As I understood at the moment. it's not work well with HTML render, because implemented wiki-renderer is that right?

I am asking, because the diff looks crapy on our test env, maybe I am doing something wrong? 



Gonchik Tsymzhitov 





1 answer

1 accepted

1 vote
Answer accepted

Hi Gonchik,


If I got you right, the problem is that in an expression like this:


#foreach ($item in $issue.lastchange.items)
   $context.diffUtils.diff($item.fromString, "text-decoration: line-through", $item.toString, "")


you cannot get $item.fromString and $item.toString to contain rich text data in HTML format? 

If so, then we can propose to add a new pseudo-property $item.fromStringHTML and $item.toStringHTML to show values in HTML format. 


Would this work for you?


Hi Vladimir,

thanks it works to me for now :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

383 views 0 7
Read article

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