What is the best way to learn how to write scripts for ScriptRunner?

Assume no prerequisite knowledge.  Where should I begin?  Are there any books?  (physical books)

4 answers

I think from speaking to various people that it's pretty clear that we are missing some basic tutorials, for people with no prior knowledge. And we'll work on that.

Most people I think get started by adapting examples found either here, or on https://scriptrunner.adaptavist.com/latest/. But maybe other people have better sources?

Hi Robert,

That's a great question - and I wish there was a book but I'm not aware of any. As for where to begin, I think you're already in the right place. Atlassian Answers (and Google) is a great source for finding problems and snippets of code that solve them.

But really, if you can get over the large hurdle I'd recommend getting yourself set up for ScriptRunner with a development IDE. If you do, then you'll get a lot more help via the autocomplete for all of the available Groovy methods as well as tap into the debug information too.

Where possible, I try to implement many of the examples in the documentation so that it helps me work out what it can do and where it might be extended.

I hope that helps, I'm sure the community will have good tips for you too.

regards,

Mark.

0 votes
Steven Behnke Community Champion Apr 15, 2016

Ask questions here! There's a lot of people willing to help. smile

I did - so my question is, knowing nothing, where can I go to find materials to learn how to write scripts?

I think you know what Steven meant, and we've given you the best answers we have at the moment.

Try starting with just the very basic knowledge on Java and Groovy coding.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Friday in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

36 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you