Forums

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

How to add a Transition to the workflow using groovy script?

Manish Kumar February 19, 2018

I am trying to add a new transition using method addTransition(String stepName, String transitionName, String transitionDescription, String destinationStep, String transitionFieldScreen). However I am not able  to  import com.atlassian.jira.functest.framework.admin.WorkflowStepsImpl

Is there any better way to do it using groovy Script?

2 answers

0 votes
Danyal Iqbal
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.
February 20, 2018

Lets focus on

Why can't you make the import?

Manish Kumar February 20, 2018

Yes, whenever I am running the script through Script runner, getting the below error.

image.png

0 votes
Danyal Iqbal
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.
February 20, 2018

No.

Suggest an answer

Log in or Sign up to answer