-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathconstants.py
More file actions
137 lines (116 loc) · 3.18 KB
/
constants.py
File metadata and controls
137 lines (116 loc) · 3.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
#! /usr/bin/env python3
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
PLATFORMS = [
"desktop",
"ecosystem",
"mobile",
]
PROJECTS_ECOSYSTEM = [
"experimenter",
"nimbus",
"ALL",
]
PROJECTS_DESKTOP = [
"firefox-desktop",
"ALL",
]
PROJECTS_MOBILE = [
"fenix",
"firefox-ios",
"focus-android",
"focus-ios",
"reference-browser",
"ALL",
]
PROJECTS_SENTRY = [
"fenix",
"fenix-beta",
"firefox-ios",
]
REPORT_TYPES = [
"bitrise-builds",
"bugzilla-desktop-bugs",
"bugzilla-desktop-overall-bugs",
"bugzilla-desktop-release-flags-for-bugs",
"bugzilla-meta-bugs",
"bugzilla-qe-verify",
"bugzilla-query-by-keyword",
"confluence-updates",
"confluence-new-page",
"confluence-build-validation",
"github-issue-regression",
"github-issues",
"jira-qa-needed",
"jira-qa-requests",
"jira-qa-requests-new-issue-types",
"jira-qa-requests-desktop",
"jira-softvision-worklogs",
"testrail-milestones",
"testrail-users",
"testrail-test-case-coverage",
"testrail-test-health",
"testrail-test-run-counts",
"testrail-test-plans-and-runs",
"testrail-test-results",
"sentry-issues",
"sentry-rates",
]
# Jira Host
HOST_JIRA = "mozilla-hub.atlassian.net"
# JQL query options
SEARCH = "search/jql"
ISSUES = "issues"
# JQL query All QA Requests since 2022 filter_id: 13856
FILTER_ID_ALL_REQUESTS_2022 = "13856"
MAX_RESULT = "maxResults=100"
# JQL query Requests, Internal Task, Sub-Task filter_id: 14323
FILTER_ID_ALL_REQUEST_ISSUE_TYPE = "14323"
# JQL query All QA Needed iOS filter_id: 13789
FILTER_ID_QA_NEEDED_iOS = "13789"
# JQL query All QA Requests Desktop filter_id: 24973
FILTER_ID_ALL_REQUESTS_DESKTOP = "24973"
# JQL Softvision Worklogs
QATT_FIELDS = "key,summary"
QATT_BOARD = "15948"
QATT_PARENT_TICKETS_IN_BOARD = f"filter={QATT_BOARD}&jql=parent="
WORKLOG_URL_TEMPLATE = "issue/{issue_key}/worklog"
# JQL Extra fields needed
JQL_QUERY = "jql=filter="
STORY_POINTS = "customfield_10037"
FIREFOX_RELEASE_TRAIN = "customfield_10155" # also used as Target release for desktop
ENGINEERING_TEAM = "customfield_10134"
DEFAULT_COLUMNS = "id,key,status,created,summary,labels,assignee"
COLUMNS_ISSUE_TYPE = ",issuetype,parent"
TESTED_TRAINS = "customfield_11930"
PRODUCT = "customfield_10147"
TIMELINE = "customfield_10509"
# Bugzilla queries
BUGZILLA_URL = "bugzilla.mozilla.org"
PRODUCTS = ["Fenix", "Focus", "GeckoView"]
FIELDS = ["id", "summary", "flags", "severity",
"priority", "status", "resolution"]
BUGZILLA_QA_WHITEBOARD_FILTER = {
"cf_qa_whiteboard_type": "substring",
"cf_qa_whiteboard": "qa-found-in-",
}
BUGZILLA_QA_WHITEBOARD_OVERALL_FILTER = {
"cf_qa_whiteboard_type": "anywordssubstr",
"cf_qa_whiteboard": "qa-investig qa-ver qa-triage",
}
BUGZILLA_BUGS_FIELDS = [
"id",
"summary",
"product",
"cf_qa_whiteboard",
"severity",
"priority",
"status",
"resolution",
"creation_time",
"last_change_time",
"whiteboard",
"keywords",
"cf_last_resolved",
]