I am currently facing the following problem:
I developed a Jira plugin containing a servlet module locally.
The local Jira installation uses a base URL in the format “hostname/jira”.
Now I installed the plugin on our Jira Server.
The base URL of this Jira installation is in a different format without the “/jira”, so Jira is accessible by only entering hostname:port.
Now whenever I try to use the servlet it uses a base URL containing “/jira” which obviously leads nowhere (404 error).
I know that I could change the base URL of the Jira installation and add the “/jira” part but I would prefer to change the base URL that the servlet uses.
Therefore my question is:
Where can I change the base URL the servlet uses?