I'm using the following IF statement to count the number of issues which test a given issue:
IF (issueLinks.FILTER($.type.inward = "tested by" AND $.destination = this)
; CONCAT(SIZE(issueLinks.FILTER($.type.inward = "tested by" AND $.destination = this)); " Tests")
; "*No Coverage*")
I'd like it to be grammatically correct and if the SIZE is less than 2, it concatenates the word "test" rather than "tests", but I can't figure out the syntax to nest the IF statements correctly.