I am not able to invoke rest service using ajax call in .vm file ,we have attached code snippet along with the error received while making the ajax call.
we also referred below link, but the issue still persisted.
https://community.atlassian.com/t5/Answers-Developer-Questions/AJS-ajax-call-producing-ParseErrorException/qaq-p/537171
Thanks & Regards,Amit J
Javascript does not belong in a velocity file. There are no good workarounds, some things work and some don't. If you are writing a plugin, why don't you just include a JS file??
It looks like you're new here. Sign in or register to get started.