atlassian-plugin.xml :-
<rest key="helloWorldRest" path="/helloworld" version="1.0"> <description>Provides hello world services.</description>
</rest>
Plugin Details :-
group-id
com.example.plugins.tutorial
artifact-id
tutorial-jira-add-content-to-view-issue-screen
version
1.0-SNAPSHOT
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 ?
It looks like you're new here. Sign in or register to get started.