Issue while creating a portfolio plan
Asked by Sumedha Belagodu:

Hi, I am trying to create a plan for a specific project and I see the below error, I tried refreshing and restarting from scratch neither work. Can anyone decipher this error

Unexpected error result.  

{"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.GeneratedMethodAccessor990.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.$Proxy186.setProperty()\\n\\tat sun.reflect.GeneratedMethodAccessor990.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.$Proxy186.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.DefaultPlanService$1.apply(:197)\\n\\tat com.atlassian.rm.jpo.core.plan.DefaultPlanService$1.apply(:115)\\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(:55)\\n\\tat com.atlassian.jira.database.DatabaseAccessorImpl.lambda$runInTransaction$0(:71)\\n\\tat com.atlassian.jira.database.DatabaseAccessorImpl.executeQuery(:40)\\n\\tat com.atlassian.jira.database.DatabaseAccessorImpl.runInTransaction(:66)\\n\\tat com.atlassian.jira.database.DefaultQueryDslAccessor.executeQuery(:54)\\n\\tat sun.reflect.GeneratedMethodAccessor541.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.$Proxy223.executeQuery()\\n\\tat sun.reflect.GeneratedMethodAccessor541.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.$Proxy2214.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.jpo.core.plan.DefaultPlanService.createPlan(:113)\\n\\tat com.atlassian.rm.jpo.core.plan.jobs.PlanCreationJob.run(:29)\\n\\tat com.atlassian.rm.jpo.core.plan.jobs.PlanCreationJob.run(:10)\\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(:86)\\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/async/650309?_=1531406918609  
Type: GET  
Status: 500  
Data: undefined  

===================  
=== Client Info ===  
===================  

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36   
Local time: Thu Jul 12 2018 10:49:58 GMT-0400 (Eastern Daylight Time)  

===================  
=== Plugin Info ===  
===================  

Plugin build: 1000.154.0  
SEN: Unknown  

===================  
=== System Info ===  
===================  

Jira Title: JIRA  
Jira Version: 1001.0.0  
Agile Version: 1001.0.0-SNAPSHOT  
Vertigo: trueCloseSend bug report


Answers:
author: Albert Kavelar
body: Hi [@Sumedha Belagodu](/t5/user/viewprofilepage/user-id/1208453), thanks for bringing this to our attention. I think you might be running into \[this bug\](<https://jira.atlassian.com/browse/JPOCLOUD-1537>) and that you don't have the edit issue permission on the project you're trying to create the plan for. If you are excluding issues in the create wizard, Portfolio will set a property on that issue that indicates it should be excluded from the plan; that property does not surface anywhere in the UI but still requires edit issue permissions on that issue. So to overcome this, you will need to get edit issue permissions granted on that project until this is fixed in our product.  

If that does not resolve the issue or that work-around is not feasible in your case, please \[raise a support ticket\](<https://getsupport.atlassian.com/servicedesk/customer/portal/28>) so we can follow up on the problem.  

Sorry for the inconvenience you're experiencing with Portfolio,

Kind regards,  
Albert Kavelar \| Portfolio for Jira


Tags: advanced-roadmaps

jira-cloud