How do I add an incident number and short description to the Survey?

jackiem
Kilo Contributor

Hello,

I am trying to add the incident number and short description to the survey.   I can add the incident number to the email but I would like it to appear directly within the survey take page.    

I found one suggestion to pass the parameter of the incident number through the URL and default the value of a question on the survey to javascript:RP.getParameterValue("incidentnum") but I do not see a field for the default value of a question. I could find the field in the legacy survey but not under the new surveys in Fuji.  

How do I add the incident number and description into either the survey intro or somewhere on the survey take page?

thank you,

Jackie

1 ACCEPTED SOLUTION

My apologies Jackie - I just assumed that survey was a system delivered UI page since it sounded like it was. I looked at ours a little closer - survey was a page we created based off of assessment_take2 (so that we would not lose the future updates). The code above was put inside this tag: <div class="assessment">, you can play with it to get it in the right spot on the page.


View solution in original post

30 REPLIES 30

Hello Abhithen,

I am using your code to modify assessment_take2 html but getting below.

Not able to pull the incident/ticket values.

find_real_file.png

 

 
 
 

A77
Giga Contributor

I am getting the same error. Were you able to do it?

This was very helpful! Thx

ahatem
Mega Expert

anyone available can help me with this, thank you

bdr
Kilo Explorer

Hi

 

Resurrecting this thread I hope

 

I would already be happy to get the Incident or Change number to be referred to in the Survey notification.

On the actual survey page would be an added bonus.

 

Currently if I close INCxxxxx

 

 

No such reference is on the survey page or in the survey invite