We’re experiencing issues with TaskManager on a DC 8.5 instance. Apparently the Callables we submit to the TaskManager are serialized into a queue and later deserialized by the LocalQCacheOpReader. Since this object runs within Jira’s own context, it cannot see classes provided by installed plugins (like our implementation of TaskContext).
My presumption is that since reading the task fails with an Exception, the task is also not even executed anymore, which is a serious problem.
Apparently all of this is not documented anywhere, nor has TaskManager been deprecated, to my knowledge. Are we supposed to replace all usages of TaskManager with JobRunners? Has anyone else found a workaround for this problem? We have quite a few apps using tasks and it would be a lot of work to change/test/etc. them all.