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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,449 views 2 7
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