com.atlassian.jira.exception.DataAccessException: Failed to remove priority '6'

Atlassian JIRA | Andromeda Sain [Atlassian] | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    # _Administration >> Issues >> Issues Attributes >> Priorities >> Add 'New Priority' >> Add_ # _Create Issue >> Set Issue Priority >> 'New Priority' >> Create_ # _Administration >> Issues >> Priorities >> Delete 'New Priority' >> Set New Priority for Matching Issues >> Delete >> *System Error*_ {noformat} com.atlassian.jira.exception.DataAccessException: Failed to remove priority '6' at com.atlassian.jira.config.DefaultPriorityManager.removePriority(DefaultPriorityManager.java:134) at com.atlassian.jira.web.action.admin.priorities.DeletePriority.doExecute(DeletePriority.java:69) at webwork.action.ActionSupport.execute(ActionSupport.java:165) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:205) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:143) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) {noformat} All issues which have priority going to be deleted should be moved to the intended priority but it is not working. h4. Workaround: Do bulk edit to all the issues with the priority level that need to be deleted. Change all of them to another priority level, and then delete the intended priority level.

    Atlassian JIRA | 5 years ago | Andromeda Sain [Atlassian]
    com.atlassian.jira.exception.DataAccessException: Failed to remove priority '6'
  2. 0

    # _Administration >> Issues >> Issues Attributes >> Priorities >> Add 'New Priority' >> Add_ # _Create Issue >> Set Issue Priority >> 'New Priority' >> Create_ # _Administration >> Issues >> Priorities >> Delete 'New Priority' >> Set New Priority for Matching Issues >> Delete >> *System Error*_ {noformat} com.atlassian.jira.exception.DataAccessException: Failed to remove priority '6' at com.atlassian.jira.config.DefaultPriorityManager.removePriority(DefaultPriorityManager.java:134) at com.atlassian.jira.web.action.admin.priorities.DeletePriority.doExecute(DeletePriority.java:69) at webwork.action.ActionSupport.execute(ActionSupport.java:165) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:205) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:143) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) {noformat} All issues which have priority going to be deleted should be moved to the intended priority but it is not working. h4. Workaround: Do bulk edit to all the issues with the priority level that need to be deleted. Change all of them to another priority level, and then delete the intended priority level.

    Atlassian JIRA | 5 years ago | Andromeda Sain [Atlassian]
    com.atlassian.jira.exception.DataAccessException: Failed to remove priority '6'

    Root Cause Analysis

    1. com.atlassian.jira.exception.DataAccessException

      Failed to remove priority '6'

      at com.atlassian.jira.config.DefaultPriorityManager.removePriority()
    2. com.atlassian.jira
      DeletePriority.doExecute
      1. com.atlassian.jira.config.DefaultPriorityManager.removePriority(DefaultPriorityManager.java:134)
      2. com.atlassian.jira.web.action.admin.priorities.DeletePriority.doExecute(DeletePriority.java:69)
      2 frames
    3. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.execute(ActionSupport.java:165)
      1 frame
    4. com.atlassian.jira
      JiraActionSupport.execute
      1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82)
      1 frame
    5. webwork.interceptor
      DefaultInterceptorChain.proceed
      1. webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39)
      2. webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31)
      3. webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16)
      4. webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35)
      4 frames
    6. webwork.dispatcher
      GenericDispatcher.executeAction
      1. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:205)
      2. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:143)
      2 frames
    7. com.atlassian.jira
      JiraWebworkActionDispatcher.service
      1. com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152)
      1 frame
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame