I'am new to using groovy script runner and i use this plugin to do post functions. I want to wrap my groovy scripts in plugin. This is needed for version control and convenient maintenence these scripts.
How to make script runner identify scripts that located in plugin?
Thanks in advance for your support.
Did you read https://scriptrunner.adaptavist.com/latest/jira/creating-a-script-plugin.html ? Warning though: that documentation needs some work, I don't know if it will work as written. But that's where you should be looking.
The other alternative is to make sure your "scripts" directory is a git repo, then you can just checkout the latest version or a floating label when you want to deploy changes.
I've read this article but it doesn't answer the question - how groovy runner will identify scripts that are in the plugin? I created simple Atlassian plugin with groovy "hello world" script, wrote groovy-runner dependencies, specified "plugin.script.roots" in pom.xml and as far as i understand, script should be transferred to this root on jira-server and script runner will execute it. But it doesn't happen. Please, correct me if i wrong,
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
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