Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-943

Project template broken when Developers and Users roles are renamed

    XMLWordPrintable

Details

    Description

      Symptom

      • Creating new project with service desk template is loading non-stop (the project get created, but wiithout servicedesk configuration).
      • The following error appears in atlassian-jira.log
        2014-10-09 16:56:03,404 http-bio-8636-exec-24 ERROR superman 1016x4533x1 1lo4mna 10.60.2.192 /rest/project-templates/1.0/templates [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: The project has been created but an exception occurred while configuring the project template. Please refer to the logs for more information.
        com.atlassian.jira.projecttemplates.service.TemplateInstantiationFailure: The project has been created but an exception occurred while configuring the project template. Please refer to the logs for more information.
        	....
        Caused by: java.lang.IllegalArgumentException: ProjectRole can not be null
        	at com.atlassian.jira.security.roles.DefaultProjectRoleManager.getProjectRoleActors(DefaultProjectRoleManager.java:127)
        	at com.atlassian.servicedesk.internal.feature.gettingstarted.DefaultProjectRoleService.setDefaultRoleMembershipForProject(DefaultProjectRoleService.scala:43)
        	at com.atlassian.servicedesk.internal.feature.gettingstarted.InitialSDPermissionSchemeManager.createPermissionSchemeForProject(InitialSDPermissionSchemeManager.scala:75)
        	at com.atlassian.servicedesk.internal.feature.gettingstarted.DefaultSchemeService.createProjectPermissionScheme(DefaultSchemeService.scala:55)
        	at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1.apply(GettingStartedService.scala:106)
        	at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1.apply(GettingStartedService.scala:104)
        

      Caused

      "Developers" and "Users" roles validation are hard coded and JIRA service desk will fail if not present.

      Workaround

      Ensure the project role Developers and Users exist in the project role.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vkharisma vkharisma (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync