Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Ajax call

jiradev March 5, 2018

  Hi

How can I make it so that when I select in my velocity template some item after that sends an ajax request and fill in the fields for this object?

  Thanks

2 answers

1 vote
Joy M March 14, 2018

I think you have to make AJAX request on the change event of the item. 

The ajax request will then send you the response and then you can fill your fields.

Something like this:

AJS.$.get()
1 vote
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2018

Add javascript to your velocity template and attach your javascript to the focus or onchange event of the required item. Then you can make an ajax request in your javascript.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events