Intial commit
This commit is contained in:
21
jira_tracker/tracker_issue.py
Normal file
21
jira_tracker/tracker_issue.py
Normal file
@@ -0,0 +1,21 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user