Add debug statements
More debug statements
Check if priority is set before assinging to issue
Add due info only if it is present in the issue