Due to various reasons it can happen that a task on a system ends up without any user available to process it. This may happen because roles / groups that define assignees to a task are empty or the assignees were deleted. This script provided here identifies these tasks and print them out in a JSON format. It can be downloade from the bottom of this page.
The script uses REST calls to communicate with the target system. If the target system returns an error status code, the error details will be printed on the command line.
...