I’ve open sourced FP Scala library to help you get started with developing Atlassian connect add on quickly. The library is minimal and prefers pure functional programming.
Take a look here.
I’ve also written jira-client and atlaskit components for scala-js (scalajs-atlaskit).
Please don’t hesitate if you have any questions and suggestions