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

            Bugfix Automation Bot made changes -
            Minimum Version New: 6
            Owen made changes -
            Component/s New: Project - Actions [ 41595 ]
            Component/s Original: Project - Create Project [ 32990 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2844188 ] New: JAC Bug Workflow v3 [ 2915405 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2581468 ] New: JAC Bug Workflow v2 [ 2844188 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1539139 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2581468 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: warranty New: affects-server warranty
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 664366 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1539139 ]
            Oswaldo Hernandez (Inactive) made changes -
            Component/s New: Project - Create Project [ 32990 ]
            Component/s Original: Project Templates [ 25403 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v5 [ 652447 ] New: JIRA Bug Workflow w Kanban v6 [ 664366 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v5 [ 555283 ] New: JIRA Bug Workflow w Kanban v6 [ 652447 ]

              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: