JIRA Agile ドキュメント

Jira Agile 6.3
GreenHopper 6.2
GreenHopper 6.1

More...

Agile Knowledge Base Resources

子ページ
  • Rank operations in JIRA Agile via REST fails with 500 Internal Server Error
メタデータの末尾にスキップ
メタデータの先頭に移動

[Unable to render {include} The included page could not be found. ({include} をレンダリングできません。ページが見つかりませんでした)] を選択し、

症状

atlassian-jira.log に次のメッセージが表示される。

Caused by: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
at com.atlassian.jira.issue.customfields.impl.rest.TextCustomFieldOperationsHandler.getInitialValue(TextCustomFieldOperationsHandler.java:46)

 

Basically the API is /api/rank/before (or /api/rank/after) you can access it for example: http://JIRA_Host/api/rank/before

The parameters for /before are:

  • issueIds - array of issue ids
  • issueKeys - array of issue keys,
  • customFieldId (long),
  • rankbeforeId or rankBeforeKey

 

For /after its rankAfterId/rankAfterKey but they are otherwise the same. You can trigger REST calls using curl, or a Google REST console, or a native plugin, such as the atlassian developer toolbox. Please learn more from our API's by using our REST API browser from the atlassian developer toolbox. Once that's installed log into JIRA > Administration > Scroll down > REST API Browser. There are more general examples using JIRA here and further details and examples here.

回避策

Refer to this https://answers.atlassian.com/questions/45323/rest-api-for-ranking

Help us improve!

 

There are more general examples using JIRA here and further details and examples here.

  • ラベルなし