[JENKINS-18280] Added swipe boolean to action and remote methods
[fix for JENKINS-18280] Added tests