add project_id to imported issues link
move some variables out of transaction
fix update existing issues with delayed_job