I want to add two fields together and multiply it by 20% but it's not working.
Is this correct syntax?
{{issue.customfield1.plus(issue.customefield2).multiply(.2)}}
Hello @Madar_ Andrew
What is the context where you are using this? Is it an Automation Rule? If so, please show us the complete Automation Rule and the details of the step where you are trying to use that syntax.
Hi Trudy, I am using the edit field
Is my syntax correct to use multiply for a decimal point in parans?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I used (.2) I got an error in the Audit Log for the rule. Do you get an error in the log?
When I used (0.2) I did not get the error, and I got the correct value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
okay, that's good to know. I did get an error when I used (.2) initially. Before I read your response, I changed it to (0.2) but have not checked it yet. I guess it requires #.# for decimals?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just checked it and it is working now with (0.2) format. Thank you!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm glad I could help you.
I don't see any statement in the documentation that decimal numbers require a leading zero.
If my answers have helped you solve your problem please consider clicking on the Accept Answer button. That will mark your post as Solved, which helps others searching for answer find posts with validated solutions.
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.