Issue collectors with a custom template are no longer functional when Jira is set up without a context path

XMLWordPrintable

    • 10
    • 1
    • Severity 3 - Minor

      Issue Summary

      Issue collectors with a custom template no longer work if Jira is configured without a context path, it display only the Name and Email fields and results in a 404 error.

       

      Steps to Reproduce

      1. Spinning up a Jira 10+ instance without context path in the server.xml file;
          <Context path="" 
        
      2. Create an issue collector with Custom template: 
      3. Try to open the issue collector on an HTML page, or use the following URL in the browser to access the collector directly:
        JIRA_URL/rest/collectors/1.0/template/form/COLLECTOR_ID?os_authType=none# 
      4. If you verify the Network tab from the developer tools, you will see a 404 error message, and only the Name and Email fields will show up.

      Expected Results

      The issue collector will work even without a context path:

      Jira 9.12.14 example:

      Actual Results

      The below exception is thrown in the developer tools:

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Karol Skwierawski
            Reporter:
            Rodrigo Jose Zaparoli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: