Uploaded image for project: 'Opsgenie'
  1. Opsgenie
  2. OPSGENIE-803

'Language-Accept' header set in the JSD/JSM actionExecutor.py script causes errors with certain Jira language extensions and plugins

      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'. 

            [OPSGENIE-803] 'Language-Accept' header set in the JSD/JSM actionExecutor.py script causes errors with certain Jira language extensions and plugins

            Ertuğrul Semiz added a comment - 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.

              Unassigned Unassigned
              jsitarz@atlassian.com Justin Sitarz
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: