File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -118,12 +118,14 @@ def get_jira_labels(self):
118
118
"""
119
119
whiteboard labels are added as a convenience for users to search in jira;
120
120
bugzilla is an expected label in Jira
121
+ since jira-labels can't contain a " ", convert to "."
121
122
"""
122
- return (
123
- ["bugzilla" ]
124
- + self .get_whiteboard_as_list ()
125
- + self .get_whiteboard_with_brackets_as_list ()
126
- )
123
+ wb_list = [wb .replace (" " , "." ) for wb in self .get_whiteboard_as_list ()]
124
+ wb_bracket_list = [
125
+ wb .replace (" " , "." ) for wb in self .get_whiteboard_with_brackets_as_list ()
126
+ ]
127
+
128
+ return ["bugzilla" ] + wb_list + wb_bracket_list
127
129
128
130
def get_potential_whiteboard_config_list (self ):
129
131
"""Get all possible whiteboard_tag configuration values"""
You can’t perform that action at this time.
0 commit comments