Fixed issue #2076: Issue Tracker Integration is broken in 1.8.7.0

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Simplify code

Signed-off-by: Sven Strickroth <email@cs-ware.de>