Hello,
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.
Thank you for quick response, Tarun. I think I can go forward from here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to know that Sandra, if you are satisfied with the answer, then please accept/upvote so that others are helped as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Greg,
Did you get any "Hello World" equivalent for groovy script on JIRA ?
Regards,
Prabu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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
Regards,
Prabu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I created this Hello World video a while back: https://youtu.be/Nf4UX86o2n8
Let me know if it helps.
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ravi, just seeing this now...excellent! I subscribed to your youtube channel, too. Kudos.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am glad it was useful. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.