diff --git a/Jira/scripts/actionExecutor.py b/Jira/scripts/actionExecutor.py index 0f67dfe..d773130 100644 --- a/Jira/scripts/actionExecutor.py +++ b/Jira/scripts/actionExecutor.py @@ -2,6 +2,7 @@ import json import logging import sys +import re import requests from requests.auth import HTTPBasicAuth @@ -122,7 +123,7 @@ def main(): }, "summary": queue_message.get("summary"), "description": queue_message.get("description"), - "labels": [toLabel.replace("\\s", "")] + "labels": [ re.sub('\s','',toLabel) ] } } elif mapped_action == "resolveIssue":