Uploaded image for project: 'Advanced Roadmaps'
  1. Advanced Roadmaps
  2. JPOSERVER-2823

Blank "Priority" throws an error while creating an issue in Live plan

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 3.24.0
    • Plan
    • None

      Issue Summary

      Live plan throws an error as "Could not be committed for unknown reasons. Item could not be committed for unknown reasons. Please contact your administrator." while committing the changes when new issues created from Live plan.

      Steps to Reproduce

      1. Load a Plan and create a new issue from the live plan.
      2. Go to Review changes and Save.

      Expected Results

      Newly created issues in the Live plan should be committed to Jira.

      Actual Results

      Observed this error "Issue could not be committed for unknown reasons. Please contact your administrator. The priority selected is invalid." in Jira UI.

      The below exception is thrown in the atlassian-jira.log file:

      2020-07-13 05:12:13,423 http-nio-8080-exec-166 WARN H364170 312x1016984x9 1hnlnq1 10.68.134.119,10.22.224.164 /rest/jpo/1.0/issues/commit [c.a.r.j.c.scenario.common.BaseScenarioEntityCommitService] Error in commit operation.
      com.atlassian.rm.jpo.env.issues.EnvironmentIssueUpdateException: Specific error details: {priority=The priority selected is invalid.}
      	at com.atlassian.rm.jpo.env.issues.JiraIssueService.updateIssue(JiraIssueService.java:206)
      	at com.atlassian.rm.jpo.core.scenario.issue.ScenarioIssueUpdateAction.performApiOperation(ScenarioIssueUpdateAction.java:89)
      	at com.atlassian.rm.jpo.core.scenario.issue.ScenarioIssueModificationAction.perform(ScenarioIssueModificationAction.java:284)
      	at com.atlassian.rm.common.persistence.transaction.Registry.run(Registry.java:35)
      	at com.atlassian.rm.jpo.core.scenario.issue.ScenarioIssueCommitService.update(ScenarioIssueCommitService.java:219)
      	at com.atlassian.rm.jpo.core.scenario.issue.ScenarioIssueCommitService.update(ScenarioIssueCommitService.java:47)
      	at com.atlassian.rm.jpo.core.scenario.common.BaseScenarioEntityCommitService.updateInternal(BaseScenarioEntityCommitService.java:401)
      	at com.atlassian.rm.jpo.core.scenario.common.BaseRankableScenarioEntityCommitService.updateInternal(BaseRankableScenarioEntityCommitService.java:115)
      	at com.atlassian.rm.jpo.core.scenario.common.BaseScenarioEntityCommitService.executeOperation(BaseScenarioEntityCommitService.java:436)
      	at com.atlassian.rm.jpo.core.scenario.common.BaseScenarioEntityCommitService.transactionalCommitInternal(BaseScenarioEntityCommitService.java:291)
      	at com.atlassian.rm.jpo.core.scenario.common.BaseScenarioEntityCommitService$2.apply(BaseScenarioEntityCommitService.java:257)
      	at com.atlassian.rm.jpo.core.scenario.common.BaseScenarioEntityCommitService$2.apply(BaseScenarioEntityCommitService.java:252)
      	at com.atlassian.rm.common.persistence.transaction.TransactionHandler.inTransaction(TransactionHandler.java:111)
      	at com.atlassian.rm.common.persistence.transaction.TransactionHandler.inNewTransaction(TransactionHandler.java:99)
      	at com.atlassian.rm.common.persistence.transaction.TransactionHandler.inNewTransaction(TransactionHandler.java:89)
      	at com.atlassian.rm.common.persistence.transaction.TransactionHandler.lambda$inDatabaseTransaction$3(TransactionHandler.java:69)
      	at com.atlassian.rm.common.persistence.DefaultDatabaseProvider.lambda$run$0(DefaultDatabaseProvider.java:24)
      	at com.atlassian.rm.common.persistence.env.JiraDatabaseProvider.lambda$execute$0(JiraDatabaseProvider.java:34)
      	at com.atlassian.rm.common.bridges.jira.persistence.JiraDatabaseProviderBridge76.execute(JiraDatabaseProviderBridge76.java:59)
      	at com.atlassian.rm.common.persistence.env.JiraDatabaseProvider.execute(JiraDatabaseProvider.java:34)
      	at com.atlassian.rm.common.persistence.DefaultDatabaseProvider.run(DefaultDatabaseProvider.java:24)
      	at com.atlassian.rm.common.persistence.transaction.TransactionHandler.inDatabaseTransaction(TransactionHandler.java:68)
      	at com.atlassian.rm.jpo.core.scenario.common.BaseScenarioEntityCommitService.commitInternal(BaseScenarioEntityCommitService.java:252)
      	at com.atlassian.rm.jpo.core.scenario.common.BaseScenarioEntityCommitService.commit(BaseScenarioEntityCommitService.java:143)
      	at com.atlassian.rm.jpo.rest.service.scenario.common.BaseScenarioCommitRestEndpoint.commit(BaseScenarioCommitRestEndpoint.java:43)
      	... 3 filtered
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	... 8 filtered
      	at com.atlassian.rm.common.rest.mau.MauTrackingDispatcher.dispatch(MauTrackingDispatcher.java:28)
      	at com.atlassian.rm.common.rest.permissions.AnnotationPermissionDispatcher.dispatch(AnnotationPermissionDispatcher.java:49)
      	at com.atlassian.rm.common.rest.permissions.AnnotationPermissionDispatcher.dispatch(AnnotationPermissionDispatcher.java:49)
      	at com.atlassian.rm.common.rest.scope.RequestOperationScopeDispatcher.dispatch(RequestOperationScopeDispatcher.java:25)
      	... 10 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)
      	... 41 filtered
      	at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
      	... 42 filtered
      	at net.youngaweb.jira.ServletFilter.doFilter(ServletFilter.java:336)
      	... 14 filtered
      	at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:66)
      	... 1 filtered
      	at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:64)
      	... 16 filtered
      	at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37)
      	... 19 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)
      	... 26 filtered
      	at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
      	... 25 filtered
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.lang.Thread.run(Thread.java:748)
      2020-07-13 05:12:13,434 http-nio-8080-exec-166 ERROR H364170 312x1016984x9 1hnlnq1 10.68.134.119,10.22.224.164 /rest/jpo/1.0/issues/commit [c.a.r.j.c.scenario.issue.IssueScenarioEntityCommitExceptionHandler] Exception when trying to commit issue: specific errors: {priority=The priority selected is invalid.}. errorMessages: []
      

      Workaround

      Add the field "Priority" to the plan and Selecting the Priority value while creating the Issue will successfully commit the changes to Jira.

              Unassigned Unassigned
              srajendran@atlassian.com Sathiskumar (Inactive)
              Archiver:
              atibrewal@atlassian.com Aakrity Tibrewal

                Created:
                Updated:
                Archived: