How to implement command line interface methods in jira-soap plugin

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

1 answer

This widget could not be displayed.

Not sure what you are trying to do, but it is not a SOAP API. And there is not a REST API for this either. So what is done is a workaround.

Jira 4.3.3 jira-soap client plugin not supporting for update Issue Type Scheme so im tring to create a method in plugin to that. but i cant find a way to do it. Command line interface is also not working. It gives

Remote error: '10020' not found as Issue Type Scheme

Pleace tell me way to do it

Thanks

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

226 views 3 0
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you