-
Bug
-
Resolution: Tracked Elsewhere
-
Medium
-
None
-
5.8.18, 5.9.6, 5.10
-
14
-
Severity 2 - Major
-
Environment
- Confluence 5.9.6
- Jira 7.1.1
Steps to reproduce
- Create an Epic Jira issue in Confluence page via Jira Issue Macro.
- Add additional text to the Confluence page.
- Save the page.
- Highlight the text to create a Jira issue (Task, Story , Bug) and ensure that the "Link to Epic" checkbox is ticked.
- Note that the loading button spins forever
Note that the previous bug report here (https://jira.atlassian.com/browse/CONF-31934) is different
It shows a different error and the workaround doesn't work.
Enabling Confluence Remote API also doesn't work.
The following errors are shown in the Jira logs :
2016-03-23 16:52:23,554 http-nio-8080-exec-11 ERROR admin 1012x853x1 jeozli 127.0.0.1 /rest/api/2/issue/bulk [c.a.j.rest.exception.ExceptionInterceptor] Returning internal server error in response java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor958.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:192) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept(DispatchProviderHelper.java:83) ... 3 filtered at com.atlassian.jira.rest.exception.ExceptionInterceptor.intercept(ExceptionInterceptor.java:55) ... 1 filtered at com.atlassian.jira.rest.v2.issue.scope.RequestScopeInterceptor.intercept(RequestScopeInterceptor.java:39) ... 15 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68) ... 86 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 15 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) ... 74 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.lang.NullPointerException at com.atlassian.greenhopper.service.issuelink.EpicServiceImpl.addIssuesToEpic(EpicServiceImpl.java:90) at com.atlassian.greenhopper.customfield.epiclink.EpicLinkRestFieldOperationsHandler.update(EpicLinkRestFieldOperationsHandler.java:104) at com.atlassian.greenhopper.customfield.epiclink.EpicLinkRestFieldOperationsHandler.handleOperation(EpicLinkRestFieldOperationsHandler.java:76) at com.atlassian.greenhopper.customfield.epiclink.EpicLinkRestFieldOperationsHandler.updateIssueInputParameters(EpicLinkRestFieldOperationsHandler.java:64) at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler$IssueInputParametersBuilder.finalizeIssueInputParams(IssueInputParametersAssembler.java:428) at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler.makeCreateAssembler(IssueInputParametersAssembler.java:131) at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler.makeCreateAssemblers(IssueInputParametersAssembler.java:138) at com.atlassian.jira.rest.v2.issue.CreateIssueResource.createIssues(CreateIssueResource.java:77) at com.atlassian.jira.rest.v2.issue.IssueResource.createIssues(IssueResource.java:624) ... 210 more
These are the errors shown in the Confluence logs
--------------------------
Parameters
--------------------------
avatarId : 10324
size : xsmall
iconType : project
serverId : ede78247-11c9-32ac-95b2-ac5ff936f756
caused by: java.lang.IllegalArgumentException: The template variable, projectId, has no value
at com.sun.jersey.api.uri.UriTemplate.templateVariableHasNoValue(UriTemplate.java:892)
2016-03-23 16:52:18,771 ERROR [http-nio-8090-exec-5] [ContainerBase.[Standalone].[localhost].[/confluence]] log Unhandled exception occurred whilst decorating page
-- referer: http://localhost:8090/confluence/display/NEW/asd22 | url: /confluence/plugins/servlet/jira-integration/icons | userName: admin
java.lang.IllegalArgumentException: The template variable, projectId, has no value
at com.sun.jersey.api.uri.UriTemplate.templateVariableHasNoValue(UriTemplate.java:892)
at com.sun.jersey.api.uri.UriTemplate.createURIComponent(UriTemplate.java:661)
- is caused by
-
JRASERVER-63325 Unable to create Jira issue if linked to epic
- Closed
-
JSWSERVER-13429 Create issue from Confluence not working when linked to epic
- Closed
- relates to
-
CONFSERVER-41078 When creating JIRA issues from Confluence, the 'Link to epic' checkbox prevents issues from being created
- Closed
(1 mentioned in)