Automation for Jira for working intermittently.
Background
I have 9 single choice custom fields that have the choice yes no. I have another 9 number customfields. the purpose of the rule is to take the yes/no answer, update the corresponding number field with with a number of either 20 or 0. A further custom field will be a total of those 9 number fields. Finally another custom field will be updated based on the total score.
Rule will fire during a transition called open and peer review. The first time that you run this rule it works perfectly. If you move it back to the open status update one of the yes/no fields and transition again, it will not update the total custom field. Move back to open and then transition again and it works.
the part that i think is failing is
Risk ScoreAdd component
{{#=}}{{issue.Risk1}} + {{issue.Risk2}} + {{issue.Risk3}} + {{issue.Risk4}} + {{issue.Risk5}} + {{issue.Risk6}} + {{issue.Risk7}} + {{issue.Risk8}} + {{issue.Risk9}}{{/}}
For example On first pass risk1 has been updated with 20, Risk2 has been updated with 20. The above script will give you a score of 40.
if you go back and update risk1 so that score is now 0, it Risk score should be calculated as 20 instead of 40 but it still gives you 40
Any help appreciated
Hi @Derek Imrie
It seems like quite a complex rule.
I think to answer the question we'd need to see the whole rule (Trigger, Conditions and Actions) - could you provide a view of this, if it remains an issue?
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.