开发者

How can I add new component in jira via SOAP?

开发者 https://www.devze.com 2023-04-12 05:50 出处:网络
I would like to add a new component in a jira Project via Soap, but I don\'t found t开发者_如何学Gohe appropriate method to do this.

I would like to add a new component in a jira Project via Soap, but I don't found t开发者_如何学Gohe appropriate method to do this.

this is an example of adding a component to an existing issue :

RemoteComponent component = new RemoteComponent();
component.setId("1000");
issue.setComponents(new RemoteComponent[] { component });

But in my case, I would like to add a new component, Can someone help me ?

Thanks


Unfortunately, there is no addComponent or similar method in the JiraSoapService, so you simply can't do it.

I don't know why, but JiraSoapService is missing lots of features compared to the Jira web front end.


Take a look at http://jiradev.blogspot.com/2011/08/adding-components-to-jira-automatically.html for a workaround

~Matt

0

精彩评论

暂无评论...
验证码 换一张
取 消