atlassian-plugin.xml :-
<rest key="helloWorldRest" path="/helloworld" version="1.0"> <description>Provides hello world services.</description>
</rest>
Plugin Details :-
group-id |
|
artifact-id |
|
version |
|
package |
|
Java File :-
class outer{
class inner{
@Path("/key")
@Post
public string get()
}}
Ajax call :-
Ajs.$.ajax{
url: "http://localhost:2990/jira/rest/helloworld/1.0/key",
type: "post"
}
My url looks something like this but when hit from browser it returns 404
Can anyone please help me correct this ?