Hi Guys
I used to be a Java coder back in the day, but first of I must confess I haven’t stayed up to date with all the latest tech, and feel like I am misunderstanding something fundamental here.
In short I have started with this example, to build on from it https://bitbucket.org/atlassianlabs/atlassian-connect-jira-workflow-post-function-example
What I find painful at the moment is that I have to restart node every time I change something in the Javascript, and then re-install the addon to my dev Jira instance.
I have solved the manual restart issue by implementing nodemon, so it auto restarts, but this means the ngrok bundled with the example ALSO restarts, and thus use a different URL.
I find this an awful lot of hoops to jump through for every line of code changed, so I assume I must be missing some fundamental understanding of the processes followed by people more experienced in developing Jira addons.
Some of the documentation mention you can use the SDK to run local instances of Jira / Confluence, but then the SDK docs says it is being deprecated. Feels like I am reading a bunch of conflicting things in the various articles I read, and not sure what to believe anymore.
Is anyone willing to try and help me out here? In short, all I want is to capture the request sent to me by the post function in jira being fired, and then be able to code against it as I figure out what I want to do with it, without having to restart servers, get new ngrok URL, install addon again using new URL, etc.
I am probably being stupid, but I will happily accept being told that, if someone can help me understand a better way of doing this?