Updated logic to get bugUrl