Hi all,
I'm using the jira rest api and have a problem with localized output.
Example: A user has set his locale to "de_DE", so an open issue woud show as "offen" (german for open) in the api output, whereas with "en_US" it would show as "open". Is there a way to change the rest api locale without changing the users jira locale? something like [api request]&locale=en_US or something similar would be great.
Thanks in advance
No answer since more than 2 years? Does anybody know if there is a feature like that? Would be great :-)
Would be great to have an answer, API should not be locale dependent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone
One way is described here, working on Cloud https://jira.atlassian.com/browse/JRACLOUD-71793.
I was able to verify that the use of headers made it possible to obtain the values in the desired language, using both headers :
'Accept-Language': 'pl',
'X-Force-Accept-Language': 'true'
More information here : https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#special-request-headers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Leonard, the behavior is this: API output is based on user's locale set in their profile. And, JIRA does not permit changing locale via Rest API:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.