I have tried to create a dashboard plugin for JIRA and i have fallowed the tutorial on Atlassian.
The URL should be like this https://jiratest-ro.corp.int/example-api/1.0/message/hello?name=utuytuytu but instead it looks like: https://jiratest-ro.corp.int/secure/undefined/message/hello?name=utuytuytu.
@Scanned
@Path("/message")
public class ExampleRestResource {
@Inject
public ExampleRestResource() {
}
@GET
@AnonymousAllowed
@Produces({MediaType.APPLICATION_JSON})
@Path("/hello")
public Response getMessage(@QueryParam("name") String name) throws Exception
{
try{
return Response.ok(new MessageModel("Hello " + name + " from the REST resource")).build();
}catch (Exception e){
e.printStackTrace();
throw e;
}
}
}
@Mihai Onescu Emanuel , were you able to solve this issue?
is it something temporary?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.