jira-tracker/jira_tracker/tracker_issue.py
2021-02-04 18:27:19 -05:00

21 lines
451 B
Python

from jira_tracker.logger import logger
class TrackerIssue:
def __init__(self, jira_issue):
self.data = jira_issue
@property
def name(self):
return str(self.data)
@property
def summary(self):
return str(self.data.fields.summary)
@property
def status(self):
return str(self.data.fields.status)
@property
def points(self):
return str(self.data.fields.customfield_10016)