Hello,
I am trying to create a user using java JIRA RPC SOAP client but i got this error !!
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: com.atlassian.jira.rpc.exception.RemoteAuthenticationException: User not authenticated yet, or session timed out.
faultActor:
faultNode:
faultDetail:
{}com.atlassian.jira.rpc.exception.RemoteAuthenticationException:null
{http://xml.apache.org/axis/}hostname:srvMy code :
private static RemoteUser createUser(JiraSoapService jiraSoapService,
String authToken) throws RemoteException, RemoteException,
RemoteException, RemotePermissionException,
RemoteAuthenticationException, RemoteValidationException,
com.atlassian.jira.rpc.exception.RemoteException,
MalformedURLException {
RemoteUser remoteUser = jiraSoapService.createUser("token", "username",
"password", "full name", "email");
System.out.println("\tSuccessfully created user "
+ remoteUser.getName());
return remoteUser;
}Can anyone help me please !!
"token" should be the token that you get after logging in to JIRA using the "login" method.
What should I do to get the value of the "token" to pass it as a parameter to the new uSer ?!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the 'login' method to get the token.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.