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.
Hi Joseph,
AFAIK, you can not just update issue type. You should move issue to change issue type, because changing issuetype changes the fields, workflows, screens, ...
If you want to change issuetype you can use REST API so that you can change multiple fields at a time.
Yeah, I quickly realized it's not something I want to be doing anyway, thanks for the reply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.