且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

通过python suds在JIRA中创建问题时设置受让人字段

更新时间:2022-05-23 21:27:23

再次感谢戴夫(Dave)的回答.

Thanks to Dave, again, for this answer.

Soap API不会设置在工作流相关点在Jira UI屏幕上不可见的字段.调用createIssue方法时,创建问题"屏幕被视为相关屏幕,但是创建问题"屏幕上看不到受让人字段.

The soap API won't set fields that aren't visible on the Jira UI's screen at the relevant point of the workflow. The "create issue" screen is considered the relevant screen when you call the createIssue method, but the assignee field isn't visible on the 'create issue' screen.

您可以在没有受让人的情况下进行createissue调用,然后在其后进行updateissue调用以设置受让人.或者,我们可以在最初的创建问题"工作流程中添加受让人"字段.

You could either do your createissue call without the assignee, then follow it with an updateissue call to set assignee. Alternatively, we could add the assignee field in the initial create issue workflow.