Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Creating ScriptRunner for Confluence scripts that a Space Admin can run

Can I create ScriptRunner scripts that can be added to the Advanced Space Functionality section of Space Tools so that a Space Admin could run them?

2 answers

Crickets. Fantastic. Even if my question is completely clueless and uninformed it'd be great if someone would just tell me. 

Hey Stephen! Just because I'm looking for something similar, I know there is a way to create over REST, so you would basically just need to create a service via scriptrunner that would handle this for you. Here's the most promising thread I've found: 

According to the docs here, here's another way to create a space:

curl -u admin:admin -X POST -H 'Content-Type: application/json' -d' { "key":"RAID", "name":"Raider",
"type":"global",  "description":{"plain": { "value": "Raider Space for raiders","representation":
"plain" }}}' http://localhost:8080/confluence/rest/api/space

 Hope that helps a little if you're still looking for a solution. I'll circle back if I figure out something relatively soon :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Comparison between Zephyr & Xray

I am sharing this article with both Zephyr and Xray information and everything should be in one place. It will be easy to know when selecting Zephyr or Xray. Zephyr and Xray are both Jira plug-ins u...

180 views 1 5
Read article

Community Events

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

Events near you