{% if str(devstatres).find("repostatus") != -1 %} {% set repostatus_id = devstatres.split('#')[-1] %}