Velocity :-
AJS.${D}.ajax({
url: "http://localhost:2990/jira/rest/helloworld/",
type: "post",
dataType: "json",
context: document.body,
data: {val:'$(this).value'}
}).done(function(data) {
alert(data.name);
});
Java :-
class outer {
class inner extends JiraWebActionSupport {
@Path("/key")
@POST
@Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
public string get()
{
}
}
Plugin Information :-
group-id |
|
artifact-id |
|
version |
|
package |
|
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.