Formula synstax for Calculated text field (innovalog)

summitmedia-uk February 5, 2014

I'm asking for help with syntax.

I'm not developer so I don't know how should look like syntax for following:

One text field has value "apple"

Second text field has value "orange" =

Calculated field result should be "fruits"

Any idea?

1 answer

1 accepted

0 votes
Answer accepted
summitmedia-uk February 6, 2014

With colleague we've managed to formulate the syntax:

(this is only excerpt)

<!-- @@Formula:
String impact = issue.get("customfield_12345");
String urgency = issue.get("customfield_12346");

if (impact.equals( "Orange" ))  {
if (urgency.equals( "Apple" )) return "fruits"; }

return "err";

-->
</div>

Suggest an answer

Log in or Sign up to answer