Webhook content should not be localized

XMLWordPrintable

    • 7.13
    • 5
    • Severity 3 - Minor
    • 2

      Summary

      For issue webhooks, the content of the webhook (the representation of the issue) will be localized according to the language preference of the user who created or updated the issue. As webhook consumers may not use the same language, it makes more sense to always send webhooks in the system language.

      Steps to Reproduce

      1. Create a new issue updated webhook
      2. Change your user language preference to a non-English language like Spanish or German or French
      3. Update an issue
      4. Observe the webhook that is sent. Notice that the issue type names, descriptions, and possibly resolution values are localized

      Expected Results

      Webhook data is retained as per the default language set in General Configuration.

      Actual Results

      Webhook data is localized as per the user language preference.

            "status": {
              "self": "http://localhost:8080/j881/rest/api/2/status/10200",
              "description": "",
              "iconUrl": "http://localhost:8080/j881/",
              "name": "A faire",
              "id": "10200",
              "statusCategory": {
                "self": "http://localhost:8080/j881/rest/api/2/statuscategory/2",
                "id": 2,
                "key": "new",
                "colorName": "blue-gray",
                "name": "À faire"
              }
      

      Workaround

      There is no workaround available.

            Assignee:
            Unassigned
            Reporter:
            Chung Park Chan
            Votes:
            25 Vote for this issue
            Watchers:
            27 Start watching this issue

              Created:
              Updated: