Jira -Python Error

I was trying to run this jira script and its been a couple of hours can't
quite figure out what the issue is. can someone help me. I get the following error.

Traceback (most recent call last):

File "mytest.py", line 2, in

from jira.client import JIRA

ImportError: No module named '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()

This doesn't appear to have anything to do with R or RStudio.

You are probably better off asking on a python or Jira forum.

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.