Skip to content

Commit fb3635c

Browse files
authored
Fix typos causing bugs (#585)
* Step name is sync whiteboard "labels" not "label" * Parameter is "issue_type_map" not "issues_types_map"
1 parent 22498bc commit fb3635c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/config.prod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
- maybe_assign_jira_user
3636
- maybe_update_issue_resolution
3737
- maybe_update_issue_status
38-
- sync_whiteboard_label
38+
- sync_whiteboard_labels
3939
labels_brackets: both
4040
status_map:
4141
ASSIGNED: In Progress

jbi/services/jira.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def _all_project_issue_types_exist(actions: Actions):
222222
default_types = {"task": "Task", "defect": "Bug"}
223223
issue_types_by_project = {
224224
action.parameters["jira_project_key"]: set(
225-
action.parameters.get("issues_types_map", default_types).values()
225+
action.parameters.get("issue_type_map", default_types).values()
226226
)
227227
for action in actions
228228
}

0 commit comments

Comments
 (0)