Jira now supports all the same field types as the other APIs, with the addition of supporting cascading select lists for Hardware and OS combined.
This commit is contained in:
@@ -126,9 +126,13 @@ func _on_submit_button_pressed() -> void:
|
||||
__server_api._send_form_data(bug_report_form_data, map_name, bug_location, bug_rotation, __submission_response)
|
||||
|
||||
func __get_label_ids_for_submission_data(tag:Array, label_group_id:int, label:Label, button:MenuButton) -> bool:
|
||||
for applied_label in __label_groups[label_group_id]:
|
||||
for applied_label:Dictionary in __label_groups[label_group_id]:
|
||||
if applied_label["name"] == button.text:
|
||||
tag.append({ "name": applied_label["name"], "id": applied_label["id"] })
|
||||
var label_data : Dictionary = { "name": applied_label["name"], "id": applied_label["id"] }
|
||||
if applied_label.has("child_name"):
|
||||
label_data["child_name"] = applied_label["child_name"]
|
||||
label_data["child_id"] = applied_label["child_id"]
|
||||
tag.append(label_data)
|
||||
break
|
||||
|
||||
if tag.is_empty() and not (__label_groups[label_group_id] as Array).is_empty():
|
||||
|
||||
Reference in New Issue
Block a user