Hi,
Beginner here, sorry to ask.
Here is my request : whenever a change of value is detected in any of the fields "Direction Indice de risque total, Ressources humaines Indice de risque total... " I would like automation to re-calucate the sum, that should appear in field "Grand total des indices de risques".
Here is my automation so far :
I have this error :
Would any one be so kind to tell me what I am doing wrong ?
Thanks a lot,
Valérie
This post was duplicated on March 8 and another answer provided:
Hi Trudy,
Sorry for this !
I could not find this first post.
Still learning how to work with a community too.
Apologies for the inconvenience caused.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Having a quick look, the first item in the expression starts with
{{issue
...but others start with
{{lissue
There is an extra 'l'?! Is that intentional?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
Thanks for taking the time to answer me.
It was not intentionnal, and corrected in the meanwhile, but not working :-(.
Kind regards,
Valérie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What does that mean "not working"? If you look for help, you may want to provide more details about how it behaves after the correction.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aron,
Thanks for having a look.
Here is what I tried so far :
Corrected the string as follows ;
{{#=}} {{issue."Ressources humaines Indice de risque total".value}} + {{issue."Direction Indice de risque total".value}} + {{issue."IT Indice de risque total".value}} + {{issue."Gestion de projet Indice de risque total".value}} + {{issue."Commercial Indice de risque total".value}} + {{issue."Customer Solutions Indice de risque total".value}} + {{issue."Production Indice de risque total".value}} + {{issue."ENV et BAT Indice de risque total".value}} + {{issue."Logistique Indice de risque total".value}} + {{issue."Qualité Indice de risque total".value}} {{/}}
In another chat, someone also suggested to start with a shorter string. I used {{#=}} {{issue."Direction Indice de risque total".value}} + {{issue."Logistique Indice de risque total".value}} {{/}} Last thing I tried was to remove the " " : Anything else I could try according to you? Any help is more than welcome. Thanks again, Valérie
|
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Valerie Blondel
Are these custom fields all Number type fields?
For Number type fields this works for me
{{#=}}{{issue.<display name for field>}} + {{issue.<display name for field>}}{{/}}
I did not put quotes around the field names. I did not use the .value attribute.
Have you tried replacing the display name of the fields with their field ID; i.e. customfield_##### ?
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.