使用python更新JIRA中现有的自定义字段
我正在尝试更新python中现有的自定义字段,以便能够自动添加几个可在下拉框中使用的“值”。下面的行指向我想要的自定义字段使用python更新JIRA中现有的自定义字段,python,jira,Python,Jira,我正在尝试更新python中现有的自定义字段,以便能够自动添加几个可在下拉框中使用的“值”。下面的行指向我想要的自定义字段 for a in jira.fields(): if a['name'] == "block": #print a.update(fields={'customfield_12100': {'value': "testingtest"}}) print a 我知道这一点,因为它返回正确的字段: {u'name': u'block',
for a in jira.fields():
if a['name'] == "block":
#print a.update(fields={'customfield_12100': {'value': "testingtest"}})
print a
我知道这一点,因为它返回正确的字段:
{u'name': u'block', u'searchable': True, u'navigable': True, u'custom': True, u'clauseNames': [u'cf[12100]', u'Lease Block'], u'orderable': True, u'id': u'customfield_12100', u'schema': {u'customId': 12100, u'type': u'option', u'custom': u'com.atlassian.jira.plugin.system.customfieldtypes:select'}}
但新值不会添加到我的自定义字段选项列表中。你如何着手增加价值
Jira 7.1.7版无法通过OOB Jira安装完成。必须安装第三方插件 这不能通过OOB Jira安装来完成。必须安装第三方插件