Changed location of status label settings.
Moved status label settings to a place that makes a bit more sense, and lets them be defined differently for each bug report platform.
This commit is contained in:
@@ -69,9 +69,9 @@ func __return_list_of_bugs_thread(callback:Callable) -> void:
|
||||
if response_data is Array:
|
||||
# If the response is an array, we can make the assumption that this is
|
||||
# a list of returned bugs.
|
||||
var resolved_labels : Array = ProjectSettings.get_setting("bugbot/markers/resolved/resolved_statuses")
|
||||
var in_progress_labels : Array = ProjectSettings.get_setting("bugbot/markers/in_progress/in_progress_statuses")
|
||||
var unresolved_labels : Array = ProjectSettings.get_setting("bugbot/markers/unresolved/unresolved_statuses")
|
||||
var resolved_labels : Array = ProjectSettings.get_setting("bugbot/reporting/gitea/status_labels/resolved_statuses")
|
||||
var in_progress_labels : Array = ProjectSettings.get_setting("bugbot/reporting/gitea/status_labels/in_progress_statuses")
|
||||
var unresolved_labels : Array = ProjectSettings.get_setting("bugbot/reporting/gitea/status_labels/unresolved_statuses")
|
||||
for bug_in:Dictionary in response_data:
|
||||
var bug : BugbotBugData = BugbotBugData.new()
|
||||
bug.id = bug_in["id"]
|
||||
|
||||
Reference in New Issue
Block a user