Hello comunity,
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?
Thanks, L.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.