I am driving myself mad trying to figure out my mistakes.
- I have two Yes / No fields:
- issue.customfield_10414
- issue.customfield_10415
- I need to create a variable for both to equal 1.5 if YES or 1 if NO
- With NO (1) being the default (if possible)
- I then need to multiply those variables value against another field
I simply cannot get the syntax right to return any value from the variable.
- One of the attempted variable definitions:
- Name: Retention
- {{#=}}( 0{{#if(equals(issue.customfield_10415,"Yes"))}}1.5{{/}}{{#if(equals(issue.customfield_10415,"No"))}}1{{/}} ) {{/}}
- One of the attempted formulae:
- {{#=}}{{issue.customfield_10353|0}} * {{issue.Retention}} * {{issue.Adoption}}{{/}}
I am certain the issue is with the variables, but I am cross-eyed at this point.
Help??