I have the following automation:
calculation aaRaumindex= ({{issue.customfield_10201}} * {{issue.customfield_10200}}) / (({{issue.customfield_10202}} - {{issue.customfield_10211}}) * ({{issue.customfield_10201}} + {{issue.customfield_10200}}))
calculation aaRaumwirkungsgrad=0.0212 * ({{aaRaumindex}}*{{aaRaumindex}}*{{aaRaumindex}}) - 0.2225 * ({{aaRaumindex}}*{{aaRaumindex}}) + 0.7844 * {{aaRaumindex}} - 0.0074
Somehow the last calculation is not right.
The correct formel is:
Raumindex = (Breite x Länge) / ((Deckenhöhe – Höhe Nutzebene) x (Breite+Länge))
Raumwirkungsgrad = 0.0212 * Raumindex3 - 0.2225 * Raumindex2 + 0.7844 * Raumindex - 0.0074
Lichtstrom = Beleuchtungsstärke x Fläche / (Raumwirkungsgrad x 0.72)
Here a correct calculation:
In Jira the Raumindex and Raumwirkungsgrad calculations are correct. But for the Lichtstrom the result is 620'162.078 and that is wrong. Is the automation too complex, or why does it not work?
When you are storing a value in a variable via calculation, please use the mentioned below notations.
{{#=}} {{issue.customfield_10201}} * {{issue.customfield_10200} {{/}}
Or it will be more benfiecray if you use in every calculation.
Automation smart values - math expressions | Cloud automation Cloud | Atlassian Support
Hey,
Have you tried adding brackets where needed, to make sure that it has the correct order of operations?
Kind Regards,
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.