Having difficulty with filtering through lookupIssues with if statements, I have it running through an advanced branch so it will look at every result and will write to the audit log depending on whether the issue key from the lookupissues list is CUS or CDI. The problem is that it will match correctly on the first if statement but will never match on the second if statement. If I reverse the order and place "contains CUS" as the first if statement, it will match on that one and then not match on the other. Any ideas why and how to fix this? Based on this particular case it "should" match on both.

