add main function to JiraAdapter