Replaced deprecated XML-RPC Jira API with the REST based API.