Customer notifications not sent from some Jira Service Management projects due to installed translation packs

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

    

要約

Customer notifications are not being sent by Jira Service Management from specific projects.

Can also prevent Customer Notifications page from rendering properly.

環境

Jira using Jira Service Management Translation pack

診断

Logs show error like the following

2020-10-10 18:40:17,075+0200 PsmqAsyncExecutors-job:thread-1102 ERROR admin     [c.a.jira.util.I18nHelper] Error rendering '${event.user.name} comentó:
    
    ${comment}': can't parse argument number: event.user.name
java.lang.IllegalArgumentException: can't parse argument number: event.user.name
	at java.text.MessageFormat.makeFormat(MessageFormat.java:1429)
	at java.text.MessageFormat.applyPattern(MessageFormat.java:479)
	at java.text.MessageFormat.<init>(MessageFormat.java:380)
	at com.atlassian.jira.i18n.BackingI18n.formatI18nMsg(BackingI18n.java:246)
	at com.atlassian.jira.i18n.BackingI18n.getText(BackingI18n.java:149)
	at com.atlassian.servicedesk.plugins.lingo.internal.manager.LingoManagerImpl.getI18nTranslation(LingoManagerImpl.java:373)
	at com.atlassian.servicedesk.plugins.lingo.internal.manager.LingoManagerImpl.lambda$null$17(LingoManagerImpl.java:214)
	at com.atlassian.servicedesk.plugins.lingo.internal.manager.LingoManagerImpl.lambda$createLingoTranslationFromDefaultProvider$25(LingoManagerImpl.java:259)
	at com.atlassian.servicedesk.plugins.lingo.internal.response.LingoTranslationImpl.getContent(LingoTranslationImpl.java:63)
	...
Caused by: java.lang.NumberFormatException: For input string: "event.user.name"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:580)
	at java.lang.Integer.parseInt(Integer.java:615)
	at java.text.MessageFormat.makeFormat(MessageFormat.java:1427)
	... 90 more

原因

There is a bug in some translation packages for Jira Service Management that cause this problem.

On the example above, the problem was in the Spanish language pack, but there have been reports of other languages causing the same problems.

Best way to find the language is to read the message in the logs and deduce the language from it. 

ソリューション

Download Latest language pack .jar for the desired language for Jira Service Management in the link below

Upload the .jar file at the Manage Apps page in Jira's UI through the Upload App button.


最終更新日 2022 年 7 月 12 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.