JIRA REST API response depends on user preferences?

Hi!

If I use rest api for "get issue" GET /rest/api/2/issue/{issueIdOrKey}. Depends on user prefered language to get issue.status.name or depends on something else? For example: If I have user with prefered language: English. It returns issue.status.name = "In progress". For language czech it return "V reseni".  What I can do to have same return for everyone.

Thanks

1 answer

0 vote

Hi Vickor - Welcome to the community.

As far as I know it does depend on the user's prefered languange preference, as you say.

I could think of one possibilty to force the same language for everyone, but it is not nice: use Set Preference to set their language to whatever you want before making futher calls. Sounds horrible, but might work.

Just to add - You might want also to try asking this over at: https://community.developer.atlassian.com as well (if you haven't already).

There are a lot of helpful and experienced people over there, so you will probably get a quicker response.

You can read more about the Developer Community in this article: https://community.atlassian.com/t5/Feedback-Forum-articles/The-Atlassian-Developer-Community/ba-p/459061

Thank you very much. I think I can deal with by id of status. I hope it will work.

Thanks again

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

71 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you