Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-5241

Having the same user as reporter and request participants leaves the issue not transitionable through customer portal

    XMLWordPrintable

Details

    Description

      Summary

      If an issue, somehow, has the reporter inserted into the request participant fields too, transitioning it through the portal is not possible.

      Environment

      Tested with JIRA Service desk cloud

      Steps to Reproduce

      1. Create an issue
      2. Insert the reporter into the request participants field (this can only be done through post-functions or by repeating the steps from this bug (JSD-4658)
      3. Use the reporter portal access to transition the issue

      Expected Results

      Issue be transitioned

      Actual Results

      Generical error is thrown, the following exception is found in the logs:

      2017-02-13 14:14:22.064529500 2017-02-13 14:14:22,058 http-nio-2992-exec-8 ERROR eduardo.masiero@e-core.com 854x469x2  104.192.142.137 /rest/servicedesk/1/customer/requests/transition [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: null
      2017-02-13 14:14:22.064531500 java.lang.NullPointerException
      2017-02-13 14:14:22.064531500 	at com.atlassian.jira.workflow.OSWorkflowManager.getWorkflow(OSWorkflowManager.java:375)
      2017-02-13 14:14:22.064532500 	at com.atlassian.jira.workflow.OSWorkflowManager.getActionDescriptor(OSWorkflowManager.java:487)
      2017-02-13 14:14:22.064567500 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2017-02-13 14:14:22.064567500 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      2017-02-13 14:14:22.064568500 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2017-02-13 14:14:22.064568500 	at java.lang.reflect.Method.invoke(Method.java:498)
      2017-02-13 14:14:22.064572500 	at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
      2017-02-13 14:14:22.064573500 	at com.sun.proxy.$Proxy135.getActionDescriptor(Unknown Source)
      2017-02-13 14:14:22.064573500 	... 3 filtered
      2017-02-13 14:14:22.064574500 	at java.lang.reflect.Method.invoke(Method.java:498)
      2017-02-13 14:14:22.064580500 	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
      2017-02-13 14:14:22.064580500 	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
      2017-02-13 14:14:22.064581500 	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
      2017-02-13 14:14:22.064581500 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      2017-02-13 14:14:22.064585500 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
      2017-02-13 14:14:22.064586500 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
      2017-02-13 14:14:22.064586500 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      2017-02-13 14:14:22.064590500 	at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor$1.run(ServiceTCCLInterceptor.java:61)
      2017-02-13 14:14:22.064591500 	at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:130)
      2017-02-13 14:14:22.064595500 	at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokePrivileged(ServiceTCCLInterceptor.java:58)
      2017-02-13 14:14:22.064596500 	at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:50)
      2017-02-13 14:14:22.064596500 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      2017-02-13 14:14:22.064600500 	at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
      2017-02-13 14:14:22.064601500 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      2017-02-13 14:14:22.064601500 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
      2017-02-13 14:14:22.064605500 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
      2017-02-13 14:14:22.064606500 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      2017-02-13 14:14:22.064606500 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
      2017-02-13 14:14:22.064611500 	at com.sun.proxy.$Proxy3530.getActionDescriptor(Unknown Source)
      2017-02-13 14:14:22.064612500 	at com.atlassian.servicedesk.internal.feature.customer.transitions.CustomerTransitionInternalServiceImpl.validateAndUpdateResolution(CustomerTransitionInternalServiceImpl.java:334)
      2017-02-13 14:14:22.064612500 	at com.atlassian.servicedesk.internal.feature.customer.transitions.CustomerTransitionInternalServiceImpl.validateTransition(CustomerTransitionInternalServiceImpl.java:299)
      2017-02-13 14:14:22.064621500 	at com.atlassian.servicedesk.internal.feature.customer.transitions.CustomerTransitionInternalServiceImpl.executeTransition(CustomerTransitionInternalServiceImpl.java:263)
      2017-02-13 14:14:22.064621500 	at com.atlassian.servicedesk.internal.feature.customer.transitions.CustomerTransitionInternalServiceImpl.lambda$executeCustomerTransition$0(CustomerTransitionInternalServiceImpl.java:134)
      2017-02-13 14:14:22.064625500 	at io.atlassian.fugue.Either$RightProjection.flatMap(Either.java:870)
      2017-02-13 14:14:22.064626500 	at io.atlassian.fugue.Either.flatMap(Either.java:230)
      2017-02-13 14:14:22.064626500 	at com.atlassian.pocketknife.step.EitherStep1.then(EitherStep1.java:18)
      2017-02-13 14:14:22.064627500 	at com.atlassian.servicedesk.internal.feature.customer.transitions.CustomerTransitionInternalServiceImpl.executeCustomerTransition(CustomerTransitionInternalServiceImpl.java:134)
      2017-02-13 14:14:22.064631500 	at com.atlassian.servicedesk.internal.rest.customers.transitions.CustomerTransitionResource.lambda$doTransition$5(CustomerTransitionResource.java:79)
      2017-02-13 14:14:22.064632500 	
      

      Workaround

      Transition the issue outside the portal occurrs normally

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              emasiero Eduardo Masiero
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: