Being a Scriptrunner beginner and a Java dummie, does anyone have any handy tutorials or instructions for me for getting familiar with (simple) scriptrunner coding? I don't have to get a Scriptrunner goeroe, but understand and write simple parts of coding. I have seen the Scriptrunner Introduction, but without any basis, that's not that simple. Thank you and kind regards.
Indeed, Script Runner documentation definitely has scope for improvement when it comes to beginner tutorials, may be have script console embedded into the site so that new users can play around the various features of the plugin without breaking much.
I have been using the plugin for over 5 years now and here's how I learned it.
Read the documentation quite well, it takes time and patience but that's the only way - https://scriptrunner.adaptavist.com/latest/jira/
And especially major features like workflows and listeners. Also, In the beginning I tried writing scripts in the "Script console", it's available when you install the plugin.
Script Runner uses Groovy which is basically a dynamic language executed on the JVM, some decent tutorial here - https://www.tutorialspoint.com/groovy/index.htm
Recently I gave a webinar wherein I have presented all the major features of the plugin, along with lot of samples - https://www.youtube.com/watch?v=ufNACtDxyD8
And last but not the least, is to read the previous posts which you find on this forum related to the plugin as lot of posts have excellent code samples.
@Tarun Sapra I watched your video...thanks! But what's really needed is a "Hello World" equivalent of just "getting started." That is what's missing. Reading the docs does not get there...If you go through built in scripts for, say, adding a subtask, it really seems to say nothing. So, a few Hello World getting started video would be beyond awesome.
@Prabu Sivagnanam Hi Prabu, never found any equivalent for a 'Hello World" Scriptrunner/groovy script. I asked the ScriptRunner people about it, and they responded that it was a nice idea...no further interest. It's probably while cPrime's Power Scripts will eventually overtake ScriptRunner...complacency
@Greg Elofsonthank you for your prompt response! some other expert asked me to try with webhooks if its simple functionality.I will try to learn Webhook and will use it for my implementation
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event