diff --git a/misc/service-tests/bamboo/bamboo_all_depts_divs.bpmn b/misc/service-tests/bamboo/bamboo_all_depts_divs.bpmn index b6012798..973ab38e 100644 --- a/misc/service-tests/bamboo/bamboo_all_depts_divs.bpmn +++ b/misc/service-tests/bamboo/bamboo_all_depts_divs.bpmn @@ -14,7 +14,7 @@ { - "list_metadata": [ + "bamboo_list_metadata": [ { "fieldId": 4, "manageable": "yes", @@ -45,33 +45,33 @@ ] }, { - "fieldId": 1355, - "manageable": "yes", - "multiple": "no", - "name": "Division", - "options": [ - { - "id": 18566, - "archived": "no", - "createdDate": "2022-12-21T18:19:08+00:00", - "archivedDate": null, - "name": "Europe" - }, - { - "id": 18563, - "archived": "no", - "createdDate": "2022-12-21T18:12:57+00:00", - "archivedDate": null, - "name": "Infrastructure" - }, - { - "id": 18570, - "archived": "no", - "createdDate": "2022-12-28T23:15:46+00:00", - "archivedDate": null, - "name": "Legal" - } - ] + "fieldId": 1355, + "manageable": "yes", + "multiple": "no", + "name": "Division", + "options": [ + { + "id": 18566, + "archived": "no", + "createdDate": "2022-12-21T18:19:08+00:00", + "archivedDate": null, + "name": "Europe" + }, + { + "id": 18563, + "archived": "no", + "createdDate": "2022-12-21T18:12:57+00:00", + "archivedDate": null, + "name": "Infrastructure" + }, + { + "id": 18570, + "archived": "no", + "createdDate": "2022-12-28T23:15:46+00:00", + "archivedDate": null, + "name": "Legal" + } + ] } ] } @@ -126,7 +126,7 @@ { - "list_metadata": [ + "bamboo_list_metadata": [ { "fieldId": 1355, "manageable": "yes", @@ -189,7 +189,7 @@ { - "list_metadata": [ + "bamboo_list_metadata": [ { "fieldId": 4, "manageable": "yes", @@ -250,7 +250,7 @@ { - "list_metadata": [ + "bamboo_list_metadata": [ { "fieldId": 4, "manageable": "yes", @@ -373,7 +373,7 @@ Flow_110nxt9 departments_and_divisions = { field["name"]: field["options"] - for field in list_metadata + for field in bamboo_list_metadata if field["name"] in ["Department", "Division"] } @@ -381,7 +381,7 @@ departments = departments_and_divisions.get("Department", []) divisions = departments_and_divisions.get("Division", []) del(departments_and_divisions) -del(list_metadata) +del(bamboo_list_metadata)