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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.