added additional parameters to jql, fixed tests

Hello!
I changed Issue.jql method params and fixed tests and deprecation warnings.