Hello,
I know I can check the current issue type by using the following:
if(issueContext.issueType.name == "Incident")
{
//do something
}
else if (issueContext.issueType.name == " Service Request")
{
//do something else
}
I'm having difficultly figuring out how to set the issue type via the groovy script? Not just check it's value, but set it to something else.