How can I create a parameterized REST query with ScriptRunner for Confluence?

I'm trying to enhance our Confluence experience by adding graphs of project status data retrieved via REST API queries from sources such as TestLink (NOTE: there are other REST data providers also; TestLink is just one example).  These queries would differ from one to the next depending on the specific REST path, parameters to be sent, etc.  I would like to be able to create a single REST query macro that I can add to each project page and then customize by changing macro parameters as needed.

I just discovered that our Confluence Server installation has ScriptRunner installed.  Is this something that can be done with ScriptRunner?  If so, can anyone provide me with an example or starting point -- or multiple examples/starting points -- for what I'm trying to do?



0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


251 views 0 6
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you