I'm trying to search for issues affecting a version Y and not affecting versions released prior Y.
I tried following jql requests, which are not working as they are giving me in results an issue with AffectsVersion set to (X,Y):
AffectedVersion = Y and not(AffectedVersion < Y)
AffectedVersion = Y and AffectedVersion >= Y