I have divided two custom fields (time spent / original estimate) and want the results in percentage.
I.e., the original estimate was 1 day, and we have spent 1.5 days, so we are 150% of the original estimate.
Here's the formula I used:
@Formula: (issue.get("aggregatetimespent") != null ? issue.get("aggregatetimespent") : 0) / (issue.get("aggregatetimeoriginalestimate") != null ? issue.get("aggregatetimeoriginalestimate") : 0) -->