I'm trying to set up an automation rule in my Discovery project with a 'create variable' action using an IF formula.
This is what I entered, but I keep getting 'Parameter not closed' errors, but I don't know what I'm doing wrong!
{{#if({{issue.customfield_10105}}.lt(3),{{issue.customfield_10105}},{"0 - {{issue.customfield_10105}}*100")}}{{/}}
This is the IF formula i am trying to create:
- logical test: 'Effort' score is less than 3
- if true: 'Effort'
- if false: 0 - 'Effort' * 100 (turns 'Effort' into a negative value and multiplies it by 100)
I'd be grateful if anyone can help me!