Hi,
I want a sample code snippet using script runner how can i move a issue types from one workflow1 to another workflow2 and while moving the statuses of issue type should be updated accordingly.
Example UseCase :
My "Workflow-1" is created for "IssueType-1" and it has statuses like.
initial ->progess->end
(End being the final state for issueType-1) once it reaches end , this issue can be moved from workflow-1 to workflow-2 .
And workflow -2 is created for IssueType-2 and has following status.
start->evaluate->Completed
IF i move issuetype1 with "END" status in workflow1 to another workflow 2
IT should reflect as issueType2 with status being set to "start".
Want to check if its possible to do ,if so if some one can suggest me how this can be done in Scriptrunner or any work around for this. Your guidance is much appreciated.