Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,232
Community Members
 
Community Events
168
Community Groups

I am not able to invoke rest service using ajax call in .vm file

Edited

 

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 JajaxCall.PNGerror_Logs.PNG

1 comment

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??

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events