我正在使用Jira rest API创建这样的问题
IssueRestClient issueClient = getJiraRestClient().getIssueClient();
IssueInputBuilder newIssue = new IssueInputBuilder(projectKey, issueType, issueSummary);
if (list != null) {
for (Fields field : list) {
newIssue.setFieldValue("customfield_" + field.getIdJira(), field.getValue());
}
}
IssueInput issueInput = newIssue.build();
但是我不知道如何使用Gender
:Man
或Woman
之类的多个选择值来做到这一点?
答案 0 :(得分:0)
解决方案非常简单
t = np.linspace(0,T,2001); # define the end time T before
y0 = [ 0, 0, 0 ] # standard convention is that everything is zero for negative times
y = odeint(odesys, y0, t) # add arguments for higher accuracy if needed
x, v, x1 = y.T # transpose of a list of tuples is a tuple of lists
plt.plot(t,x); plt.show() # as example that should work
在我的情况下,newIssue.setFieldValue("customfield_" + field.getIdJira(),
ComplexIssueInputFieldValue.with("value", field.getValue()));
持有field.getIdJira()
中的ID
,而customfield
持有字段的actuel值。