Loop issue and REST API trigger issue - BuildShip