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

XMLWordPrintable

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

            Assignee:
            Unassigned
            Reporter:
            Justin Sitarz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: