HewlettPackard / squest

Service request portal on top of Ansible Tower/AWX

Home Page:https://hewlettpackard.github.io/squest/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question about Jinja2 in Surveys

janhoelscher opened this issue · comments

Hey,

i´m trying to use jinja2 templating inside the survey.

Could someone please explain me, how to use this correctly?

I have added {{ instance.name }} as the default variable. In this case for my requested hostname.

But this jinja2 won´t be evaluated and hostname is empty in Review View as an Admin.

Thanks for this awesome tool!

Sorry for the delay. It may be a bug. We are going to take a look.
It's a day 2 operation?
Because of course on creation the instance name is not there yet.

Just tested on my side it's ok.
image

image