from where I can get the Jira server variables ("keys");

Ali January 26, 2023

I need them to make my own localization.
any suggestion ?

1 answer

1 accepted

1 vote
Answer accepted
Ashley Hudson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 26, 2023

Hey @Ali ,

I'm not quite sure what you are talking about ("Keys")? Could you perhaps provide some more information on this? If you are referring to the jira server ID, then here is some documentation to help you:

https://confluence.atlassian.com/adminjiraserver/finding-your-server-id-938847652.html#:~:text=From%20the%20top%20navigation%20bar,Info%20section%20of%20the%20page.

Kind Regards,

Ashley Hudson

Ali January 26, 2023

hello @Ashley Hudson ,

Thank you for sharing, however what I meant by "keys" was that I want to add a new language to my own instance.
("keys") are variables or labels of any kind, such as the title or summary or a button label, and I need to access them by obtaining their keys.

for example to access text label I should write:

com.atlassian.jira.plugins.importer.bitbucket.fetchData.projects.imported= Storage spaces are imported

"com.atlassian.jira.plugins.importer.bitbucket.fetchData.projects.imported" is a key that I mentioned before.

I want to get all Jira server keys to do my task.

did you get my point ?

Best Regards,
Jessica

Ashley Hudson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 26, 2023

Ah okay I understand! So you want to grab the "id's" of the default fields such as summary or a label? So the workaround OOTB to find this is to navigate to jira administration -> issues and either select custom fields or system fields. For the field you want to find the unique key of, select the actions (3 little dots) and configure. In the URL you will be able to see the field value!

For the default fields, those fields do not have a numeric ID but a special naming convention. The easiest option from what I read is to query the API using:

{Jira base URL}/rest/api/3/field 

 I hope this helps :)

Kind Regards,

Ashley Hudson

Ali January 27, 2023

Hello @Ashley Hudson ,

that's what I intended Please see the image below. I want to be able to alter the labels. These labels are in English, and I need to convert them to Arabic so that I may access them using their keys.
Where might I get these keys?

Regards, 

screen_shot_today.jpg

Ashley Hudson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 27, 2023

Ah right I see! So usually to change the language for yourself, you navigate to personal settings but I think, Arabic is not yet supported: https://confluence.atlassian.com/translations

I'd suggest to look into installing a custom language pack which can be found here:

https://confluence.atlassian.com/jirakb/install-a-custom-language-pack-for-jira-server-295305642.html

Kind Regards,

Ashley Hudson

Ali January 27, 2023

Yeah @Ashley Hudson , you are right, that why I am building an Addon that support Arabic language.
do you thing this link is good enough to find all keys?

during my research I found some keys in Jira installation 

C:\Users\User-_\Atlassian\Jira\atlassian-jira\WEB-INF\application-installation\jira-software-application

what do u thing ?
also the language pack in the link you sent only includes jira_service right ?
I need jira_management too.

Ashley Hudson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 27, 2023

Hey @Ali ,

So I think the keys with the link would be sufficent but I would recommend installing the language packs to both jira_service and jira_management :) This can be found here: https://packages.atlassian.com/maven/com/atlassian/translations/?_ga=2.4088496.1266593924.1540749370-265030796.1518690225

Kind Regards,

Ashley Hudson

Like Ali likes this
Ali January 27, 2023

thank you so much @Ashley Hudson .

Suggest an answer

Log in or Sign up to answer