Interact with former Greenhopper API

I currently would like to use a script runner console (https://scriptrunner.adaptavist.com/latest/jira/ScriptConsole.html?utm_source=product-help) run to detect why a user is not allowed to close and create sprints in an agile board.

In the API doc for our JIRA version (7.13.2) there is no package for accessing the whole agile objects, see NOT_ALLOWED_TO_PUT_MORE_THAN_2_LINKS

I found (I guess) an older API doc of the Greenhopper API at NOT_ALLOWED_TO_PUT_MORE_THAN_2_LINKS but I am not able to instantiate e.g. a RapidViewService.

Here in the forum I found a related thread at How do I create the Scrum Board (rapidView) for the project using Java in the JIRA Plugin? - #2 by Krysia but the workaround to instantiate this class via Osgi fails.

Any idea how I can interact with this former Greenhopper API in the scriptrunner console?

link to API doc JIRA software: Atlassian JIRA - Server 7.13.2 API
link to Greenhopper API: Atlassian GreenHopper 6.5.0 API

Hi,

People from Adaptavist created this: https://scriptrunner.adaptavist.com/latest/jira/plugins/working-with-jira-agile.html

There are some examples of usage but not much of documentation.

So for example I struggle how to copy and rename a Board, I don’t konw how to useupdateRapidViewName from Atlassian GreenHopper 6.5.0 API

Best Regards,
Lukasz