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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 Marketplace Apps & Integrations

Why you should move agile planning to Lucidspark’s digital whiteboard

During my 17 years as a coach, mentor, and trainer of Agile teams, I’ve participated in hundreds of Agile planning meetings. The end result was a wall of backlog items annotated by an explosion of co...

91 views 0 5
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