Forums

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

How to call servlets using AJS in JIRA plugin?

imamudin naseem March 29, 2018 edited

I know a way to call REST APIs using AJS. 


I want to call POST of servlet using AJS. Via given docs, I could only  find a way to call GET of servlets via hitting http://localhost:2990/jira/plugins/servlet/{servletURL}  in browser. Is there a way to call same url with POST method using AJS?

1 answer

0 votes
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 30, 2018

Try with 

AJS.$.post()

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events