Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

mihan ayeshana June 4, 2012

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

0 votes
Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2012

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.

mihan ayeshana June 4, 2012

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
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events