This is the method use to update Issue Type Scheme in jira command line interface
public void setIssueTypeScheme(final RemoteProject project, final String schemeId) throws ClientException, RemoteRestException, RemoteException {
String request = "/secure/admin/SelectIssueTypeSchemeForProject.jspa";
Map<String, String> parameters = new HashMap<String, String>(); // this handles encoding etc...
parameters.put("projectId", project.getId());
parameters.put("schemeId", schemeId);
getGuest().restRequest(request, parameters);
// TODO - might need to do more error checking? Default error handling might be enough
}
How can i implemet this method in jira-rpc soap plugin. Becuse getGuest().restRequest() is defficult to implement in plugin. so i want to know there exits any eacy way to do it.
Thanks