We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f6fbd45 + 9077f38 commit 9277991Copy full SHA for 9277991
src/jbi/services.py
@@ -1,5 +1,6 @@
1
"""Services and functions that can be used to create custom actions"""
2
import logging
3
+from typing import Dict, List
4
5
import bugzilla as rh_bugzilla # type: ignore
6
from atlassian import Jira # type: ignore
@@ -59,4 +60,5 @@ def jbi_service_health_map():
59
60
def jira_visible_projects():
61
"""Returns list of projects that are currently accessible"""
62
jira = get_jira()
- return jira.projects(included_archived=None)
63
+ visible_projects: List[Dict] = jira.projects(included_archived=None)
64
+ return [project["key"] for project in visible_projects]
0 commit comments