Change JIRA Rest Api output locale / Language

LK May 12, 2017

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

3 answers

1 vote
Andreas November 21, 2019

No answer since more than 2 years? Does anybody know if there is a feature like that? Would be great :-)

Jose Luu February 27, 2020

Would be great to have an answer, API should not be locale dependent.

0 votes
Julien March 12, 2024

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

0 votes
Hassan Zakeri September 27, 2020

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:

https://community.atlassian.com/t5/Jira-questions/How-to-temporarily-set-the-languange-when-using-the-REST-API/qaq-p/1011058

Suggest an answer

Log in or Sign up to answer