From 158d0634d66deb1bff18882db72444436d849337 Mon Sep 17 00:00:00 2001 From: Maciej Tonderski Date: Thu, 19 Sep 2024 20:29:58 +0200 Subject: [PATCH] PAPP-33712: address review comments --- jira.json | 4 ++-- jira_connector.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/jira.json b/jira.json index e2f732a..80c9441 100644 --- a/jira.json +++ b/jira.json @@ -87,13 +87,13 @@ "custom_field_enumeration": { "data_type": "boolean", "order": 10, - "description": "Disable Field Enumeration", + "description": "Custom Field Enumeration", "default": false }, "internal_address_behind_proxy": { "data_type": "string", "order": 11, - "description": "URL address of JIRA service behind proxy (To be replaced in order to properly access)" + "description": "URL address of the JIRA service behind the proxy (to be replaced for proper access)" } }, "actions": [ diff --git a/jira_connector.py b/jira_connector.py index ab152f5..8e8f8c4 100644 --- a/jira_connector.py +++ b/jira_connector.py @@ -493,7 +493,6 @@ def _list_projects(self, param): @staticmethod def _replace_internal_with_proxy_url(value, internal_address, proxy_address): - # If the value is a string and contains the internal address, replace it with the proxy address if isinstance(value, str) and internal_address in value: return value.replace(internal_address, proxy_address) return value