is there a possibility to get the information included in the Scriptrunner for Confluence "Script Macros" page programatically (something like a REST-Service, a database query, a file, ...)
I need a list of the script file names in another script.
Thanks for ideas!
Hello there Karsten!
Thanks for reaching out. As I understand, you need to fetch some information about third-party macros from Adaptavist Scriptrunner. You could check the page storage format and see if the needed information is there:
You should be able to fetch this using REST API:
Further, could you provide us some clarification on:
- Is the information needed within a specific macro from the Scriptrunner bundle?
- What is the name of said macro?
Looking forward to your answers so we can keep moving Karsten!
thanks for the idea; however I don't this is going to work. I am familiar with the Storage Format and the regular REST API for Confluence. In this case though I am trying to retrieve information that ist displayed on the "Script Macros" admin page of the Scriptrunner for Confluence plugin. As this is not a regular Confluence page I do not know how to gather the information displayed (name of the macro, name of the script file) with a groovy script.
My final aim is to track the usage of script files in the differen "Script Macros"
Wherever you are in your team’s journey , our goal is to support your big ambitions. We’re a cloud-first company with the mission of unleashing the potential of every team, and to address the range ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events