diff --git a/dashboard/src/t5gweb/static/js/table.js b/dashboard/src/t5gweb/static/js/table.js
index 88fefe3..f863939 100644
--- a/dashboard/src/t5gweb/static/js/table.js
+++ b/dashboard/src/t5gweb/static/js/table.js
@@ -35,6 +35,15 @@ function format(data) {
result +=
'
JIRA Issues:
# | Summary | Priority | Severity | Telco Priority | Target Release | Assignee | QA Contact | Last Updated | Status |
';
for (let issue = 0; issue < data.issues.length; issue++) {
+ const telcoPriority =
+ data.issues[issue].private_keywords != null
+ ? data.issues[issue].private_keywords.find((str) =>
+ str.includes("Priority"),
+ )
+ : null;
+ const priorityNum = telcoPriority
+ ? telcoPriority.charAt(telcoPriority.length - 1)
+ : 0;
result +=
' | " +
+ ` | ` +
(data.issues[issue].private_keywords != null
? data.issues[issue].private_keywords.find((str) =>
str.includes("Priority"),
diff --git a/dashboard/src/t5gweb/static/style.css b/dashboard/src/t5gweb/static/style.css
index 6462f74..d629bf4 100644
--- a/dashboard/src/t5gweb/static/style.css
+++ b/dashboard/src/t5gweb/static/style.css
@@ -208,4 +208,21 @@ span.anchor {
/* Makes sure Navbar doesn't cover content */
.new-cases {
padding-top: 70px;
-}
\ No newline at end of file
+}
+
+/* Telco priority */
+.telco-priority-1 {
+ color: red !important;
+}
+
+.telco-priority-2 {
+ color: orange !important;
+}
+
+.telco-priority-3 {
+ color: blue !important;
+}
+
+.telco-priority-4 {
+ color: black !important;
+}
|