from jira.client import JIRA
from jira.exceptions import JIRAError
from jira.resources import Attachment, Comment,
import time
import types
from sets import Set
import xlrd
import sys, getopt
import getpass
sel_server = 'https://dkbdkb7qja.ww007.net/'
sel_user = "karthikeyan@xxxxxx.com"
password = getpass.getpass()
password:
jira = JIRA(basic_auth=(sel_user, password), options={'server': sel_server, 'verify': False})
issue = jira.issue("EHSTRACKER-54")
new_issue = jira.create_issue(project={"key":"EHSTRACKER"},
summary = "New issue from jira-python",
description= "Look into this one",
customfield_13401= "karthi",
customfield_13403={"value":"low"},
customfield_13404={"value":"Other"},
priority={"name":"Minor"},
issuetype={"name":"EHS"})
i'm getting the following below error
=====================================
回溯(最后一次调用):文件“”,第 8 行,文件“C:\Python27\lib\site-packages\jira_python-0.16-py2.7.egg\jira\client.py”,第 485 行,在create_issue raise_on_error(r) 文件“C:\Python27\lib\site-packages\jira_python-0.16-py2.7.egg\jira\exceptions.py”,第 47 行,在 raise_on_error raise JIRAError(r.status_code, error, r .url) jira.exceptions.JIRAError:HTTP 400:“选项 id 'null' 无效”
谁能告诉这个错误是什么以及如何解决这个问题?