In Scriptrunner for Jira Server is there any good way to extract definitions for ScriptFragments or behaviours?
As my team builds out custom ScriptFragments we have been trying to think through our versioning system. Given that a ScriptFragment is often most complex on its "Provider class/script" section we had been manually pasting that from our source controlled repos. However the other sections are important to track as well and it would be nice to cleanly export the ScriptFragments such as retrieving the definition as json from an endpoint.
If anyone knows a pathway whether on the Jira system, as an object that we can expose in a new endpoint, or an existing exposed url, we would love it!