Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-34709

Project Templates Plugin is dependent on the Workflow Sharing Plugin

      This causes the Project Template Plugin to fail to be enabled during startup, and due to that:

      • you won't be able to choose a project template when creating a project;
      • and the header menu does not show the drop-down options.

      Steps to Reproduce:

      1. Disable the JIRA Workflow Sharing Plugin;
      2. Restart JIRA;

      Expected Behavior:

      The JIRA Workflow Sharing Plugin is disabled.

      Actual Behavior:

      Both the JIRA Workflow Sharing Plugin and the Project Templates Plugin are disabled (the latter fails to be enabled during the startup). The following is shown in the logs:

      2013-09-09 12:18:59,810 Timer-4 WARN anonymous 737x32x1 1pkiai9 0:0:0:0:0:0:0:1%0 /secure/SetupImport.jspa [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.jira.plugins.project-templates-plugin, config=osgibundle:/META-INF/spring/*.xml)]
      2013-09-09 12:18:59,813 Timer-4 ERROR anonymous 737x32x1 1pkiai9 0:0:0:0:0:0:0:1%0 /secure/SetupImport.jspa [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.atlassian.jira.plugins.project-templates-plugin], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.jira.plugins.workflow.sharing.importer.component.WorkflowImporterFactory)] (from bean [&ci-jira-workflow-sharing-importer-factory]), Dependency on [(objectClass=com.atlassian.jira.plugins.workflow.sharing.importer.component.WorkflowStatusHelper)] (from bean [&workflowStatusHelper])
      org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.jira.plugins.project-templates-plugin' has timed out
              at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
              at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
              at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
              at java.util.TimerThread.mainLoop(Timer.java:512)
              at java.util.TimerThread.run(Timer.java:462)
      

      Suggested Resolution:

      Fix the Project Templates Plugin so it can still function when the workflow importers plugin is not available. Alternatively, not allow users to disable the Workflow Sharing Plugin if project templates depends on it.

      Workaround:

      1. Enable the Workflow Sharing Plugin;
      2. Restart JIRA.

            [JRASERVER-34709] Project Templates Plugin is dependent on the Workflow Sharing Plugin

            Im seeing this in 7.3.1

            Isaac Montes added a comment - Im seeing this in 7.3.1

              rtekhov Roman Tekhov (Inactive)
              mfernandes@atlassian.com Matheus Fernandes
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: