-
Bug
-
Resolution: Fixed
-
Low
-
None
-
2
-
Severity 3 - Minor
-
Issue Summary
We are setting a 'Accept-Language' header in our actionExecutor.py script for JSD/JSM - this is set with a value of "application/json", which is causing issues with certain language/translation extensions in Jira as "application/json" is not a valid language value. This is done in two places - here:
https://github.com/opsgenie/oec-scripts/blob/master/JiraServiceDesk/scripts/actionExecutor.py#L102
and here
https://github.com/opsgenie/oec-scripts/blob/master/JiraServiceDesk/scripts/actionExecutor.py#L102
I suspect this was intended to be simply an 'Accept' header - which would make sense with the value being set.
Steps to Reproduce
N/A
Expected Results
N/A
Actual Results
N/A
Workaround
Customers can modify the script once the package is installed - either removing the 'Accept-Language' header entirely in both places, or changing it to 'Accept'.
It is fixed and releases are made at https://github.com/atlassian/jsm-integration-scripts/releases/tag/jira-service-management-1.0.3_jec-1.0.4 and https://github.com/atlassian/jsm-integration-scripts/releases/tag/jira-software-1.0.3_jec-1.0.4 for JEC client.