Hi,
I'm using script listener to run some action on an updated issue, the actions can be quite heavy and I'm using threads to prevent the users from waiting.
In some cases I see this error in the logs:
'Can't get old thread name'
Any idea why it happens?
My code is looking like this:
Thread.start({
try {
xxxxxx
someFunction(issue)
}
catch (Exception ex) {
log.error("error found+" error: "+ex.toString());
}
})
void someFunction(Issue issue) {
Thread.start({
xxxxxxx
})
}
thanks
Dar