It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Create dashboard plugin URL issue

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

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

is it something temporary?

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you