Missing class for post-function on workflow transition
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Symptoms
A workflow transition does not work, showing an error in the browser like the below:
1
Error creating issue: Could not load FunctionProvider class
The following appears in the atlassian-jira.log
:
1
2012-07-26 08:42:12,766 http-80-1 ERROR xxxxxx 522x245x1 k7ovzk xxx.xxx.xxx.xxx /secure/QuickCreateIssue.jspa [atlassian.jira.workflow.DefaultOSWorkflowConfigurator] Could not load class 'securitylevel.jira.plugin.postfunction.SetSecurityLevelFunction'
Diagnosis
Check the post-functions on the transition that is causing the error. If this is the cause then you will see a bare class name instead of a normal post-function.
Cause
A class is referenced in the post-functions which does not exist. Because of this, the transition is not able to run all steps and gives up.
Solution
Resolution
Figure out what plugin provides the missing class
Install that plugin if it's not installed
It may be necessary to delete and recreate the post-function that should have been there
Was this helpful?