Forums

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

Transition in ScriptRunner error in Automation

Siavosh Kasravi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 16, 2019

I used to use this to transit an issue in my post function:

 WorkflowTransitionUtil workflowTransitionUtil = ( WorkflowTransitionUtil ) JiraUtils.loadComponent( WorkflowTransitionUtilImpl.class );
workflowTransitionUtil.setIssue(issue);

After I updated JIRA there are many warnings for deprecated methods.

The problem is I want to use this same snippet in a scheduled Project Automation task. But there, the second line gives me an error: Cannot find matching method.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events