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

$math tool not working in confluence 7.8

I have a Velocity template that uses $math.toInteger() function e.g. $math.toInteger($item.FLow) that has stopped working since I upgraded to version 7.8

 

Anyone had a similar issue or knows of an alternative?

 

Thanks

2 answers

Hi @Constantine Samaklis ,

We have an app that works with the Jira Issues macro and helps to aggregate&visualize your Jira data (calculate story points, create Burndown charts, etc.) - Table Filter and Charts for Confluence.

Here is an example how to calculate velocity right in Confluence with the macros provided by the app.

Hope this helps.

0 votes

Hi @Constantine Samaklis 

There has been some work on making velocity engine instance more secure from RCEs in recent times, please refer to the list of packages and classes in WEB-INF/classes/velocity.properties which are blocked from being used in a VM file. I suspect it could be one of $item or $item.Flow. Also, can you please confirm which class is set in $math?

Thanks, 
Ganesh

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.8
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

218 views 0 6
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