Hi All
I saw that Atlassian planned to deprecate the SOAP and XML RPC APIs from Version 5.5+. (see link below)
Does this mean we cannot use the APIs on 5.5+ OR
Does it mean that the interfaces are unsupported in 5.5+.?
Has anyone used SOAP and XML RPC on version 5.5+?
Rahul
Hi,
They still work. I use XML-rpc and JSON-rpc all the time on Confluence 5.7 and 5.10.
All they are saying is that they will not upgrade those APIs anymore but they will still continue to work. If you can, you should use the REST api since they update those but if not, you can still use those older APIs and they will still work. I used the XML-rpc a lot because at the time when I was creating scripts the REST api was not as good, but now they have updated it and you can do pretty much the same thing with all of them. I haven't updated any of my scripts to use the REST API though so they all still use the rpc api and work fine.
Thanks Alex...that helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just wanted to let you know that they still work – another data point. But work on converting your scripts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alex Yasurekmy eand goal is to update usernames in bulk in confluence , how to do this via xml-rpc/json-rpc , i looked the documentation but couldnt do it, i want to do it via bash or script, can you please share how to do it ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check out the User Management methods here: https://developer.atlassian.com/server/confluence/remote-confluence-methods/
I think specifically you will need to use:
boolean editUser(String token, RemoteUser remoteUser)
- edits the details of a userI dont believe you can do it in bulk though and will need to update each user one at a time
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.