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

        1. Screenshot 2024-10-15 at 09.48.04.png
          73 kB
          Rodrigo Jose Zaparoli
        2. Screenshot 2024-10-15 at 10.22.12.png
          274 kB
          Rodrigo Jose Zaparoli
        3. Screenshot 2024-10-15 at 10.26.50.png
          271 kB
          Rodrigo Jose Zaparoli
        4. Screenshot 2024-10-15 at 10.35.46.png
          163 kB
          Rodrigo Jose Zaparoli

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

              Created:
              Updated:
              Resolved: