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 ?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.