java.lang.IllegalArgumentException: Input must be in the format 'YYYYMMDD'

お困りですか?

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

コミュニティに質問

症状

Sometimes an error might appear in Jira on the Issue Navigator or while setting Due Date or during other operations.

atlassian-jira.log に次のエラーが返される。

Input must be in the format 'YYYYMMDD'.
java.lang.IllegalArgumentException: Input must be in the format 'YYYYMMDD'.
	at com.atlassian.jira.datetime.LocalDateFactory.fromIsoBasicFormat(LocalDateFactory.java:80)
	at com.atlassian.jira.util.LuceneUtils.stringToLocalDate(LuceneUtils.java:168)
	at com.atlassian.jira.issue.statistics.LocalDateFieldSorter.getValueFromLuceneField(LocalDateFieldSorter.java:31)

原因

This error is generally caused when the date formats set for JIRA conflict the date formats set for Java.

ソリューション

  • Configure the date formats under Advanced Settings of General Configuration in Jira based on the instructions on this page : Configuring JIRA Options
  • Check the date formats under Look and Feel and see if it's correct.
  • If date formats of both pages are correct, try to do the following step to clear the cache and rebuild it:
    1. Shutdown your JIRA
    2. Remove the following directories as they will rebuild when you restart JIRA
      • jira-home-path/caches/indexes
    3. Jira を再起動します。
    4. Reindex Jira

 

最終更新日 2018 年 11 月 15 日

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

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