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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

708 views 6 13
Read article

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