Hi all,
I am trying to get response in another language than default from asApp() in forge using rest-api for JIRA cloud. Whatever I try to put in Accepted-Language is ignored and I always get fallback to default even if translation is present.
I tried with values: pl, pl_PL, pl-PL, but all in vain.
Can somebody confirm if language selection is working correctly when we are using rest API with asApp user or is it a bug?
return await api.asApp().requestJira(route`/rest/api/3/statuses/search?startAt=${startAt}&expand=usages`, {
headers: {
'Accept': 'application/json',
'Accept-Language': 'pl',
'X-Force-Accept-Language': 'true'
}
});
Regards and thanks for all responses.