JIRA Agile ドキュメント

Jira Agile 6.3
GreenHopper 6.2
GreenHopper 6.1

More...

Agile Knowledge Base Resources

子ページ
  • com.pyxis.greenhopper.jira.fields.Assignee cannot be cast to com.pyxis.greenhopper.jira.fields.RankingField
メタデータの末尾にスキップ
メタデータの先頭に移動

症状

When trying to edit the 'Ranking' field, you get the following stacktrace:

MethodInvocationException occurred getting message body from Velocity: java.lang.ClassCastException: com.pyxis.greenhopper.jira.fields.Assignee cannot be cast to com.pyxis.greenhopper.jira.fields.RankingField
java.lang.ClassCastException: com.pyxis.greenhopper.jira.fields.Assignee cannot be cast to com.pyxis.greenhopper.jira.fields.RankingField
	at com.pyxis.greenhopper.jira.actions.RankingAction.getSelectedRankField(RankingAction.java:413)
	at com.pyxis.greenhopper.jira.actions.RankingAction.getRankingBoard(RankingAction.java:265)
	at sun.reflect.GeneratedMethodAccessor2452.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
...
(more)

原因

You had set the field 'Assignee' as the field for sorting. When you are sorting the issues by 'Assignee', you will have the problem in editing the ranking field. This has been raised as a bug: GHS-2024.

ソリューション

  • You might need to set the 'Ranking' field as the field used to sort and edit the ranking.
  • Upgrade to the JIRA Agile version 4.3.1.