add jira mode - more or less works, with a couple of patches