Hi all ,
I have an instance of Jira integrated with confluence ,
I want to automatically create a Space in confluence when i create a project in jira.
Can someone please guide me how can this be achived ?
is there an available plugin which can do this ?
any help will be highly appreciated.
thanx :)
Community moderators have prevented the ability to post new answers.
Hi Mizan,
There is not a plugin that I know of, that can do this.
If you are familiar with plugin development, you can create a plugin in Jira to add a Confluence space. Use an EventListener in Jira to react on the event of creating a new project. Then add a space in Confluence using the SOAP API.
Documentation links:
EventListener plugin in Jira: https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Writing+JIRA+event+listeners+with+the+atlassian-event+library
SOAP RPC interface Confluence: https://developer.atlassian.com/display/CONFDEV/Confluence+XML-RPC+and+SOAP+APIs
Jira and Confluence communication: https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Application+Links+in+JIRA
If you are not sure how to develop a plugin, contact an Atlassian expert to have them develop it for you. See: http://www.atlassian.com/resources/experts
Good luck!
Sander Brienen
Thanks for providing these useful links, i am familiar with creating plugins however i have a doubt that there is an event of creating a project in the event library .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't believe there is. You could write a service (quite easy with the script runner plugin) that checks that for each project there is a corresponding space, and creates one if there is not. There is a similar question about the confluecne soap api active right now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Automatically creating a Confluence space when a project is created in JIRA is default behaviour in OnDemand. Might be nice if Atlassian could publish their solution, or blog it to share with the community?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanx Jamie , il try to create this service. how to check whether a project has a space associated ? and yes i checked that question, after able to create a space for every project i have to create a page for the issues :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
IMHO you want to separate the provisioning process from creating the jira project, have something separate altogether, that creates the projects across the tools, including any source control repos etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jamie ,
I am trying to create a service which will check all the projects and corresponding spaces if for a project ther is no space associated then a space will be created .
But before creating a service i tried the below code on the script runner panel but i getan exception
unable to resolve class org.swift.common.soap.confluence.ConfluenceSoapServiceServiceLocator
import org.swift.common.soap.confluence.ConfluenceSoapServiceServiceLocator def locator = new ConfluenceSoapServiceServiceLocator() def service = locator.getConfluenceserviceV2(new URL("http://localhost:8090")) def token = service.login("admin", "password") return(""+token)
I have copied the confluence-soap-model-0.1.jar in WEB-INF/lib my Jira version is 4.3.2 .
Thanx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any luck?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you should be able to use the JIRA CLI plugin to handle this. I have tested the Confluence CLI plugin to create a JIRA project from Confluence.
https://bobswift.atlassian.net/wiki/display/JCLIP/CLI+Plugin+for+JIRA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please share your script?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Mian
I'm surprised this issue hasn't attracted more interest!
I observed the functionality in OnDemand when I started evaluating a few weeks aga, and was surprised to see it missing in Download.
Is it possible?
Has anyone developed a solution?
cheers
Pete
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Mizan
I'm surprised this issue hasn't attracted more interest!
I observed the functionality in OnDemand when I started evaluating a few weeks aga, and was surprised to see it missing in Download.
Is it possible?
Has anyone developed a solution?
cheers
Pete
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we have written (or in proces with some features) for our purposes separate website where u can create jira project / conf space / version control using SOAP and REST apis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mizan
Have you finally made the plugin? If so, could you share it? I'm looking for something similar.
Thanks in advance.
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.