add function to get which document is attached to mantis issue