2016-10-27 6 views
1

나는이 jira 스크립트를 실행하려고 애썼지 만 몇 시간이 지났으므로
문제가 무엇인지 파악하지 못했습니다. 누군가 나를 도울 수 있습니까? 오류가 발생합니다.Jira -Python 오류

역 추적 (마지막으로 가장 최근 통화) :

파일 "mytest.py", 2 호선,

에서 jira.client 가져 오기 JIRA

ImportError를 보낸 사람 : 'JIRA'

라는 이름의 모듈
from jira.client import JIRA 
import json 
import csv 

options = {'server': 'https://jira.myjira.com/', 'verify':False} 

jira = JIRA(options) 

issues = jira.search_issues('project=DCE and created > -365d ORDER BY key  
DESC',maxResults=10000,fields='id,key,customfield') 

f = open("test.csv", "w",newline="") 
writer = csv.writer(f, delimiter='|') 


for issue in issues: 
fl =  
[issue.key,issue.fields.status.name,issue.fields.customfield] 
writer.writerow(fl) 

f.close() 

답변

0

다운로드 및 JIRA 또는 easy_install을 JIRA를 설치 PIP 를 사용하여 설치