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

Nice feature with small polish in DiffUtils and JiraVelocityHelper

Hi! 

 

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? 

 

Cheers,

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, "")
#end.

 

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?

Vlad

Hi Vladimir,

thanks it works to me for now :)

Suggest an answer

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

🍂📹 Apptoberfest demo contest roundup: vote for your favorite demos!

Hi Community! The submissions are in (and listed below) for the 🍻🍂Apptoberfest🍂🍻 Demo Competition and it’s time for you to place your votes for the best: Analytics & reporting app demo ...

266 views 7 18
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