I want to run a Groovy script but don't want to invest in the ScriptRunner plugin as we very seldom run scripts.
Please could someone suggest the easiest way to do this and, if possible, direct me to some documentation about how to do it?
It may well be. ScriptRunner is definitely overkill if you only want a handful of scripts. In fact, rather than duplicating the part of ScriptRunner you think you need, you would probably be better off writing your specific requirements as an add-on. The SDK makes it very easy to write add-ons (create skeleton, add code, compile and test locally, upload add-on)
OK, so you can't use the free version of ScriptRunner. Then better write a simple JIRA add-on using java and use it to bulk change what you need.
You can use the same sample code I've provided(with just a few modifications) in a simple add-on that exposes a REST endpoint(so you can easily call it).
You can grab a working REST add-on example from https://developer.atlassian.com/docs/atlassian-platform-common-components/rest-api-development/developing-a-rest-service-plugin
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough cough, all companies). If content calendars, marketing plans, and bu...
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!
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