We have investigated the effects of helium ion irradiation energy and sample temperature on the performance of grain boundaries as helium sinks in ultrafine grained and nanocrystalline tungsten. Irradiations were performed at displacement and non-displacement energies and at temperatures above and below that required for vacancy migration. Microstructural investigations were performed using Transmission Electron Microscopy (TEM) combined with either in-situ or ex-situ ion irradiation. Under helium irradiation at an energy which does not cause atomic displacements in tungsten (70 eV), regardless of temperature and thus vacancy migration conditions, bubbles were uniformly distributed with no preferential bubble formation on grain boundaries. At energies that can cause displacements, bubbles were observed to be preferentially formed on the grain boundaries only at high temperatures where vacancy migration occurs. Under these conditions, the decoration of grain boundaries with large facetted bubbles occurred on nanocrystalline grains with dimensions less than 60 nm. We discuss the importance of vacancy supply and the formation and migration of radiation-induced defects on the performance of grain boundaries as helium sinks and the resulting irradiation tolerance of ultrafine grained and nanocrystalline tungsten to bubble formation.