I have 5 Custom Fields and each Custom Field is being used to calculate the Monthly Payment. The default value is set at 0 for all the Custom Fields. When the Workflow transitions to Active the following values are correctly generated
e.g.
Monthly Payment A = 10
Monthly Payment B = 15.67
Monthly Payment C =12
Monthly Payment D = 15
Monthly Payment E = 20
I have created another Custom Field - Monthly Total which is to sum the 5 above.
I am using the Automation Rule
When the Value changes for
Monthly Payment A, Monthly Payment B, Monthly Payment C, Monthly Payment D
Monthly Payment E
And: Edit issue fields
Monthly Total
{{#=}}{{issue.Monthly A|0}} + {{issue.Monthly B|0}} + {{issue.Monthly C|0}} + {{issue.Monthly D |0}} + {{issue.Monthly E|0}}{{/}}
I am not getting any result. What am I missing?
Hi Bola,
I am not see anything there that should give you a problem. Maybe start small by only summing up two fields and see what happens.
Also, you might try using the ID of the custom fields instead of the name to see if that helps. It would look like this:
{{#=}}{{issue.customfield_10091}}+{{issue.customfield_10089}}{{/}}
Hello John
Thank you for the response. I tried the two suggestions earlier on and was not getting any results.
1. i used one and later added two customs field
2. I used the ID of custom fields still no result.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try adding a log of each of the fields to see if they are returning any values. Also, can you share the rule and the audit log when you run it? I suspect the rule isn't even really running.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I was looking more for the log of the fields that were changing, not the Description field. Make sure you use the Case exactly as the field name. Wanting to see what the values are in those fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's definitely the problem then - automation is not properly pulling the values for those fields.
Are you logging the values of the those individual fields? Or the calculated ones?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is not a document per se that shows how to resolve a particular issue. I would add logging for each of the custom fields so you can see what is in each field prior to the calculation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. I see the Monthly A value in the customized sub-task (I created a different screen) below = 22.5
2. the amount shows up
2. the amount shows up on the form page of the screen
3. I have logged Monthly A, Monthly B still 0.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share the screen print from the audit log like to did above for the Monthly A and Monthly B fields where you logged them?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry - you probably should open a support ticket with Atlassian as I am not able to see your data or delve further into it.
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.