I am writing a groovy script which will login to a confluence instance and create pages. Can I login to confluence using the same session of Jira i.e. I do not want to hardcode passwords in any script.
Thanks for replying
Both the Jira and conflunce are using crowd but I am using the remote API from my groovy script to connect to confluence and create a page.
Something like this
def locator = new ConfluenceSoapServiceServiceLocator()
def service = locator.getConfluenceserviceV2(new URL("http://localhost:8090/rpc/soap-axis/confluenceservice-v2"))
def token = service.login("user", "password")
I dont want to use the login method but want to use , say the jira token instead
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG