You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
did someone solve how to calculate a value based on other values and its quantities? My idea is to have JIRA issue (order) with subtasks (items), these subtasks has item price and quantity. In the main task should be field with calculated value of the order. I think about workflow post-function Set field value (JMWE add-on) and for cycle in Nunjucks. Something like this:
FinalAmount = 0
for each Subtask
FinalAmount = FinalAmount + Amount * Quantity.
Here I am not sure how can I define all subtasks of the main task. Any idea on this?