Skip to content

Commit

Permalink
adding constants
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelrios committed Jul 10, 2024
1 parent bd696c6 commit 894f7be
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 1 addition & 2 deletions database.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ class ReportGithubIssues(Base):
__table__ = Table('report_github_issues', Base.metadata, autoload=True)


'''

class ReportJiraQARequests(Base):
__table__ = Table('report_jira_qa_requests', Base.metadata, autoload=True) # noqa
'''


class Database:
Expand Down
8 changes: 4 additions & 4 deletions jira.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
from lib.jira_conn import JiraAPIClient
from database import (
Database,
# ReportJiraQARequests
ReportJiraQARequests
)
from utils.datetime_utils import DatetimeUtils as dt
from utils.constants import FILTER_ID_ALL_REQUESTS_2022, MAX_RESULT


# JQL query All QA Requests since 2022 filter_id: 13856
FILTER_ID_ALL_REQUESTS_2022 = "13856"
# Fields needed
# Extra fields needed
STORY_POINTS = "customfield_10037"
FIREFOX_RELEASE_TRAIN = "customfield_10155"
ENGINEERING_TEAM = "customfield_10134"
DEFAULT_COLUMNS = "id,key,status,created,summary,labels,assignee,"
MAX_RESULT = "maxResults=100"

JQL_QUERY = 'jql=filter='

Expand Down
4 changes: 4 additions & 0 deletions utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@
'issue-regression',
'jira-qa-requests'
]

# JQL query All QA Requests since 2022 filter_id: 13856
FILTER_ID_ALL_REQUESTS_2022 = "13856"
MAX_RESULT = "maxResults=100"

0 comments on commit 894f7be

Please sign in to comment.