Botifying the JIRA workflow in scala