Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Release 5.4.2
-
None
-
None
-
JIRA 7.2.4
Xporter 5.4.2
Structure 4.5.1
-
R5.7.0 Sprint 1
-
Description
When a user tries to export with Xporter via Structure nothing happens on UI.
The error occurs in JIRA logs.
Steps to reproduce the error:
Access your JIRA instance
Add a template (for example ALM Structure)
Create a structure on your JIRA instance
Try to export the new Structure using Xporter for JIRA
Log message:
2018-02-13 14:45:58,416 http-nio-8080-exec-19 ERROR [o.a.c.c.C.[.[localhost].[/jira].[default]] Servlet.service() for servlet [default] in context with path [/jira] threw exception
java.lang.IllegalArgumentException: Illegal character in path at index 68: http://gadev.luxoft.com/jira/rest/jiraxporter/1.0/templates/byScope/[7]
{{ at java.net.URI.create(URI.java:852)}}
{{ at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:95)}}
{{ at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:147)}}
{{ at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:829)}}
{{ at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68)}}
{{ ... 36 filtered}}
{{ at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)}}
{{ ... 42 filtered}}
{{ at net.youngaweb.jira.ServletFilter.doFilter(ServletFilter.java:369)}}
{{ ... 14 filtered}}
{{ at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:76)}}
{{ ... 1 filtered}}
{{ at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:74)}}
{{ ... 16 filtered}}
{{ at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37)}}
{{ ... 20 filtered}}
{{ at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)}}
{{ ... 10 filtered}}
{{ at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)}}
{{ ... 4 filtered}}
{{ at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36)}}
{{ ... 29 filtered}}
{{ at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)}}
{{ ... 27 filtered}}
{{ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)}}
{{ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)}}
{{ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)}}
{{ at java.lang.Thread.run(Thread.java:745)}}
Caused by: java.net.URISyntaxException: Illegal character in path at index 68: http://gadev.luxoft.com/jira/rest/jiraxporter/1.0/templates/byScope/[7]
{{ at java.net.URI$Parser.fail(URI.java:2848)}}
{{ at java.net.URI$Parser.checkChars(URI.java:3021)}}
{{ at java.net.URI$Parser.parseHierarchical(URI.java:3105)}}
{{ at java.net.URI$Parser.parse(URI.java:3053)}}
{{ at java.net.URI.<init>(URI.java:588)}}
{{ ... 216 more}}
Attachments
Issue Links
- is duplicated by
-
XPORTER-1710 We must change the REST API to get templates by scope
- Closed