Questions for Confluence license has expired.

Please purchase a new license to continue using Questions for Confluence.

Conditional statement query

 
1
0
-1

Hi,

I haven't used exalate for a long time, but now I need help with a simple conditional statement.

Basically, I would need multiple ORs with &&. Could you guide me to the document or help me with it?

The conditional statement would be like:

If (issue.status.id !=  (1,4, 1029) && replica.status.id=6) {
}

Regards.

  1. Support

    Hi,

    I am checking your question, may you please try as below?

    if ([1,4,1029].every{it != issue.status.id} && replica.status.id == 6) {
    .....
    }

    Feel free to contact us back if you need more help.

    Regards,

    Harold Oconitrillo

CommentAdd your comment...