As suggested by ESRI technical support I want to bring to your attention this useful but missing capability:
Have the possibility to quickly find the url source, name or item id for all data inside custom variables and report templates inside BAO.
This isn't available yet and it is very difficult to debug when running reports.