This BZ is related to BZ #1612958. We need to validate parameters which are passed to API object constructor and make sure that they are passed in correct order.
sync2jira