Uploaded image for project: 'JMWE for JIRA Server'
  1. JMWE-610

issue.get and similar methods lookup fields by localized name instead of English name

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.0
    • Labels:
      None
    • Internal Complexity:
      Unknown
    • Internal Value:
      Unknown

      Description

      When you use issue.get("Field Name"), it looks for the field by ID and by name. But if the current user is using a non-default language, it will look for the localized name (in the user's locale) and not in the system's default language (which is likely to have been used) nor in the English locale (which is what is documented in our documentation).

      When passing a field name (not ID), which should look for that name in:

      • the system locale
      • the English locale
      • the user's locale as a last resort (mostly for backward compatibility purposes)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dfischer David Fischer [Innovalog]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: