I understand that Jira on-demand creates a confluence workspace automatically - can the same functionality be replicated with the download version?
This can be achieved by creating a service which will check for number of projects and if a new project is found it will create a space in Confluence .
I had done this using script runner plugin and wrote a groovy service .
import org.swift.common.soap.confluence.ConfluenceSoapServiceServiceLocator import org.swift.common.soap.confluence.RemoteSpace def locator = new ConfluenceSoapServiceServiceLocator() def service = locator.getConfluenceserviceV2(new URL("http://localhost:8090/confluence/rpc/soap-axis/confluenceservice-v1")) def token = service.login("admin", "admin") def page = new RemoteSpace ( key:"fr", name:"First", url:false, homePage:2523142, description:"this is a space automatically created via Jira " ) service.addSpace(token, page)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mizan, I have created a similar script and tried to execute it from script console in Jira (my goal is to create a NEW confluence page, related to an existing space, when a NEW issue is created) but I get an error on ConfluenceSoapServiceServiceLocator Import. Is it executable from script console? And, if not, from where can I execute and debug it? How do I have to configure Jira and Confluence in order to get this code working? Is there a required setting to do before executing the script? Many thanks in advance for your help Arianna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.