I've got a functional testing daemon that verifies the status of a specific environment. I would like it to programmatically update a confluence page with the results of the test, each time the test is run. Is that possible?
If so, then how can I do it in Python?
And, if not in Python, is there an example in Java that I can use as a starting point?
There are plenty of examples, just google for it, anyway - here is one
import xmlrpclib CONFLUENCE_URL='http://localhost:8280/wiki/rpc/xmlrpc' client = xmlrpclib.Server(CONFLUENCE_URL,verbose=0) authToken=client.confluence2.login(CONFLUENCE_LOGIN,CONFLUENCE_PASSWORD) page = client.confluence2.getPage(authToken, pageid) page['content'] = newcontent client.confluence2.storePage(authToken, page) client.confluence2.logout(authToken)
Hey Austin! Come join us for our 2019 Atlassian Community Summer BASH as we transition ourselves into party status! Bring an attachment, log a great time, and collaborate with new friends as we celeb...
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