It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Steven_Behnke Community Leader Jul 25, 2019

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
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

328 views 9 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you