connect to jira rest api