Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create dashboard plugin URL issue

Mihai Onescu Emanuel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 30, 2019

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;
}
}
}

1 answer

0 votes
Francisco Gimeno
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 4, 2020

@Mihai Onescu Emanuel , were you able to solve this issue?

is it something temporary?

Suggest an answer

Log in or Sign up to answer