Uploaded image for project: 'Jira Software Cloud'
  1. Jira Software Cloud
  2. JSWCLOUD-19115

Unable to exclude issue from the plan if user doesn't have Edit Issue permission

    XMLWordPrintable

Details

    Description

      Summary

      Error message shown when user trying to exclude issues from the plan if they don't have Edit Issue permission

      Bummer, something has gone terribly wrong here...
      
      Please try refreshing the page. If the issue continues, please copy and paste the information in the Details button below and send to your Jira Administrator or Atlassian Support.
      

      Steps to Reproduce

      1. Have a plan with 1 or 2 projects in it
      2. Remove Edit Issue permission from user
      3. Let this user to exclude one issue from the project

      Actual Result

      Issues are not excluded and error message is shown.

      {"status-code":500,"stack-trace":"com.atlassian.rm.common.rest.provider.exception.GsonException$DeserializedThrowable\n\tat com.google.common.base.Preconditions.checkArgument(:108)\n\tat com.atlassian.jira.entity.property.BaseEntityPropertyService.setProperty(:134)\n\tat com.atlassian.jira.entity.property.DelegatingEntityPropertyService.setProperty(:47)\n\tat sun.reflect.GeneratedMethodAccessor1134.invoke()\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(:43)\n\tat java.lang.reflect.Method.invoke(:498)\n\tat com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(:26)\n\tat com.sun.proxy.$Proxy104.setProperty()\n\tat sun.reflect.GeneratedMethodAccessor1134.invoke()\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(:43)\n\tat java.lang.reflect.Method.invoke(:498)\n\tat com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(:136)\n\tat com.sun.proxy.$Proxy104.setProperty()\n\tat com.atlassian.rm.common.env.issues.JiraIssuePropertyService.setProperty(:321)\n\tat com.atlassian.rm.common.env.issues.JiraIssuePropertyService.add(:186)\n\tat com.atlassian.rm.jpo.core.plan.PlanExcludeIssuesHandler.perform(:32)\n\tat com.atlassian.rm.jpo.core.plan.PlanExcludeIssuesHandler.perform(:10)\n\tat com.atlassian.rm.common.persistence.transaction.Registry.run(:28)\n\tat com.atlassian.rm.jpo.core.plan.RestructurePlanAction.apply(:102)\n\tat com.atlassian.rm.common.persistence.transaction.TransactionHandler$2.apply(:51)\n\tat com.atlassian.rm.common.persistence.transaction.TransactionHandler$2.apply(:46)\n\tat com.atlassian.rm.common.persistence.transaction.TransactionHandler.inTransaction(:62)\n\tat com.atlassian.rm.common.persistence.transaction.TransactionHandler.access$000(:11)\n\tat com.atlassian.rm.common.persistence.transaction.TransactionHandler$1.apply(:35)\n\tat com.atlassian.rm.common.persistence.DefaultDatabaseProvider$1.perform(:30)\n\tat com.atlassian.rm.common.persistence.env.JiraDatabaseProvider.lambda$execute$0(:33)\n\tat com.atlassian.rm.common.bridges.jira.persistence.JiraDatabaseProviderBridgeCloud.lambda$executeInternal$1(:60)\n\tat com.atlassian.jira.database.DefaultQueryDslAccessor.lambda$executeQuery$0(:51)\n\tat com.atlassian.jira.database.DatabaseAccessorImpl.lambda$runInTransaction$0(:67)\n\tat com.atlassian.jira.database.DatabaseAccessorImpl.executeQuery(:36)\n\tat com.atlassian.jira.database.DatabaseAccessorImpl.runInTransaction(:62)\n\tat com.atlassian.jira.database.DefaultQueryDslAccessor.executeQuery(:50)\n\tat sun.reflect.GeneratedMethodAccessor430.invoke()\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(:43)\n\tat java.lang.reflect.Method.invoke(:498)\n\tat com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(:26)\n\tat com.sun.proxy.$Proxy132.executeQuery()\n\tat sun.reflect.GeneratedMethodAccessor430.invoke()\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(:43)\n\tat java.lang.reflect.Method.invoke(:498)\n\tat org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(:302)\n\tat org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(:56)\n\tat org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(:60)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(:179)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(:133)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(:121)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(:179)\n\tat org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor$1.run(:61)\n\tat org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(:130)\n\tat org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokePrivileged(:58)\n\tat org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(:50)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(:179)\n\tat org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(:57)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(:179)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(:133)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(:121)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(:179)\n\tat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(:208)\n\tat com.sun.proxy.$Proxy1410.executeQuery()\n\tat com.atlassian.rm.common.bridges.jira.persistence.JiraDatabaseProviderBridgeCloud.executeInternal(:79)\n\tat com.atlassian.rm.common.bridges.jira.persistence.JiraDatabaseProviderBridgeCloud.execute(:32)\n\tat com.atlassian.rm.common.persistence.env.JiraDatabaseProvider.execute(:33)\n\tat com.atlassian.rm.common.persistence.DefaultDatabaseProvider.run(:26)\n\tat com.atlassian.rm.common.persistence.transaction.TransactionHandler.inDatabaseTransaction(:28)\n\tat com.atlassian.rm.common.persistence.transaction.TransactionHandler.inDatabaseTransaction(:46)\n\tat com.atlassian.rm.jpo.core.plan.DefaultPlanService.restructurePlan(:309)\n\tat com.atlassian.rm.jpo.core.plan.jobs.PlanRestructureJob.run(:23)\n\tat com.atlassian.rm.jpo.core.plan.jobs.PlanRestructureJob.run(:8)\n\tat com.atlassian.rm.jpo.env.threading.AbstractTranslatedLongRunningTaskProvider.lambda$getLongRunningTask$0(:22)\n\tat com.atlassian.rm.jpo.env.threading.TranslatedLongRunningTaskProviderWrapper.lambda$getLongRunningTask$0(:35)\n\tat com.atlassian.rm.common.bridges.jira.threading.LongRunningExecutorRegistryBridgeCloud.lambda$register$0(:51)\n\tat com.atlassian.jira.task.progress.ProgressAwareMessageRunner.processMessage(:87)\n\tat com.atlassian.messagequeue.internal.core.NestedMessageConsumer.consume(:135)\n\tat com.atlassian.messagequeue.internal.sqs.SQSMessageConsumer.processReceiveMessageResult(:171)\n\tat com.atlassian.messagequeue.internal.sqs.SQSMessageConsumer.run(:112)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(:624)\n\tat java.lang.Thread.run(:748)\n"}
      
      ===============
      === Request ===
      ===============
      
      URL: /rest/jpo/1.0/plans/restructure/async/19727?_=1523550666338
      Type: GET
      Status: 500
      Data: undefined
      
      ===================
      === Client Info ===
      ===================
      
      User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 
      Local time: Thu Apr 12 2018 18:31:29 GMT+0200 (W. Europe Daylight Time)
      
      ===================
      === Plugin Info ===
      ===================
      
      Plugin build: 1000.114.0
      SEN: Unknown
      
      ===================
      === System Info ===
      ===================
      
      Jira Title: JIRA
      Jira Version: 1001.0.0
      Agile Version: 1001.0.0-SNAPSHOT
      Vertigo: trueCloseSend bug report
      

      Expected Result

      • Portfolio should display clear warning message as why this action is failing.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rsaputra Adven
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: