jirasoapservice and Fix Version

大城市里の小女人 提交于 2019-12-12 06:37:19

问题


I need get fixversion from Jira or create new. I use Jira ver. 4.4.4 and velocity plugin 0.2.11. For new version I can use:

RemoteIssue issue = new RemoteIssue();
RemoteVersion version = new RemoteVersion();
version.name = name;
version.id = ...;// what I must write there if I know only name?

issue.reporter = user.name; 
issue.summary = IssueName;
issue.description = IssueName;
issue.fixVersions = new .RemoteVersion[] { version };

thanks


回答1:


When I use the addVersion SOAP method in the JIRA Python CLI code I don't set the id, since JIRA will create it for you. If you are trying to set a Fix Version you will need to use getVersions for the project and find the right one by name.



来源:https://stackoverflow.com/questions/9226013/jirasoapservice-and-fix-version

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!