Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Since Jira 8.x, Scriptrunner JiraUtils.loadComponent(WorkflowTransitionUtilImpl.class) is deprecated

Cedric Delavy
Contributor
October 1, 2019

With Scriptrunner in a Postfunction of a worflow, I use the JiraUtils.loadComponent(WorkflowTransitionUtilImpl.class) to do a workflow transition. But since release 8.x, this method is deprecated.

I tried to use JiraUtils.loadComponent("workflowTransitionUtil", WorkflowTransitionUtilFactoryImpl.class ) where workflowTransitionUtil is the Class Name. But I get this error: java.lang.ClassNotFoundException: workflowTransitionUtil. I tried many values without any success

Any idea which Class Name should I use ?

Thanks

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Robert Giddings _Adaptavist_
Community Champion
December 20, 2019

Hi Mary,

I understand this has now been resolved by Adaptavist Support?

Kind regards,

Robert Giddings,

Product Manager for ScriptRunner for Bitbucket

TAGS
AUG Leaders

Atlassian Community Events