I have found some posts similar to this and have tried to come up with a solution but have had no success.
I have a form for news starter/leaver/role change and the first question is a radio button. I want the data from the radio button to populate the summary of the ticket so we can see what type of ticket it is.
I have given the radion button section a field key of RadioStarter and set the summary to hidden in service requests.
Ticket type - {{forms.last.answers.RadioStarter.label}}
Above is the automation I have got and the jquery to get the data. It completes with no errors and Ticket type - shows in the summary box but it isnt pulling the data?
Seems you are using the wrong smart value
Example
If the selected value in a choice field with the field key Location is ‘Sydney’; {{forms.last.Location.label}} will return ‘Sydney’
Here Location its the field name.
Whats the radio field name on your instance?
Regards
the field display name is "Please Choose One of The Below"
{{forms.last.Please Choose One of The Below.label}}
I'm guessing it should be the above
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. The radio button called "Please Choose One of The Below".
And use the smart value you mention
{{forms.last.Please Choose One of The Below.label}}
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems tha this does not work either. I am not getting an error with the automation and the Ticket Type - text is showing.
I did find this link
which talks about the ID of the radio button field but I cant seem to find the ID mentioned in teh answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK now i see the problem.
1. Have you linked the field to a form field? If so, you need to use the custom field ID like this {{issue.customfield_10098.value}} or like this {{issue.SF Radio buttons.value}}.
2. If you havent linked the field, you can use the forms.last.IDHERE
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have not linked anyhting, i presumed I coudl set the field key and use that.
Am I looking for the ID of the radio button field then?
{{forms.last.ID.label}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Got it. now i now why, at last. Took me a few minutes.
1. You are using the Work item created. when you use that, you cannot use {{forms.last...}}, you can use it only with Forms submitted action. This will be easier by using forms submitted. If you need Work item created, keep reading.
2. read the documentation part "Access smart values without using the Forms submitted trigger"
3. Get the form id
4. Add a FIELD KEY to the field in the form (this is a must)
5. example for the radio button Notes:
{{issue.forms.eb920c38-7b6d-4bd8-a754-09ee9e2003d2.conference-notes.first.label}}
(conference-notes its the field key for the forms radio button)
Happy config!!
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
okay this make sense actually, I will try it both ways and see what happens, thanks for your help so far!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.