Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error in create issues in jira in python

aravindh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 7, 2020

After login successfully in jira using python script. projects have empty list, but i have created one project.

projects = jira.projects()
iss = {
'project': {'key': 'TEST'},
'summary': 'Last issue',
'description': 'Final issue of batch.',
'issuetype': {'name': 'Bug'},
'Severity': {'name':'High'},
'Component/s' : {'name':'Other'},
}

issues = jira.create_issues(field_list=iss)

 And also create issues through an error like, 

File "C:\D_Drive\HCL\Turbo_main_03mar\Turbo_main\venv\lib\site-packages\jira\client.py", line 1130, in create_issues
p = issue_data['fields']['project']
TypeError: string indices must be integers

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events