Issue:
I've created a custom rest API call that works well when run within the sdk
http://jirasandbox:2990/jira/rest/custom/1.0/option/branch
which yields
"optionsValues": [ "one", "two"]
However, when installed on my production server
http://jira/rest/custom/1.0/option/branch
jira responds with
<status> <status-code>404</status-code> <message>null for uri: http://jira/rest/custom/1.0/option/branch</message></status>
Nothing shows up in the jira log
These are my entry points
<rest key="customFieldOptionRESTpoint" path="/custom" version="1.0"> <description>pick list custom fields</description></rest>`
@Path("/option")public class CustomFieldOption { @GET @Path("/branch") @Produces ({ MediaType.APPLICATION_JSON }) public Response branchOption() {
Question:
What can be wrong, how can I track what's going on?
I had another custom/1.0 rest end point in a different plugin. Changing to 2.0 in my new plugin fixed the issue
Thanks Javier .. it fixed the similar issue for me.
It looks like you're new here. Sign in or register to get started.