I have a code through which i am making Auto Transition by using ID but since its not the right way to do it, since ID may change. So i want ot perform Tranistion based on name so anyone out there can help me out.
My piece of code is like.
/*
WorkflowTransitionUtil workflowTransitionUtil = ( WorkflowTransitionUtil ) JiraUtils.loadComponent( WorkflowTransitionUtilImpl.class ); //This will capture the Wokflow
workflowTransitionUtil.setIssue(issue); //This will set the Issue
workflowTransitionUtil.setAction(221);//This will set the Action Id
workflowTransitionUtil.progress(); //This will vallidate the progress
*/
So here i need to do by name.