JIRA REST API を介して課題の fixVersion を更新しようとしています。JIRA のバージョンは 4.4.3#663-r165197 です。これは codehaus によってホストされているインスタンスですが、それが違いを生むかどうかはわかりません。
リクエストは次のようになります。
curl -u [ユーザー名]:[パスワード] -X PUT -H 'Content-type: application/json' \ -d "http://jira.codehaus.org/rest/api/latest/issue/GEOS-[id]"
{ "アップデート":{ "修正バージョン":[ { "設定":[ { 「名前」:「2.2-beta3」 } ] } ] } }
しかし、405、メソッドは許可されていないというエラーが返されます。そのバージョンの残りのAPIドキュメントを見ると、これは理にかなっています[1]。この方法で問題を更新する方法がないことを示しているようです。しかし、最新バージョン [2] のドキュメントを見ると、それが可能であることを示しているようです。
問題は、JIRA 4.4 でこの方法で課題を更新するにはどうすればよいかということだと思います。それとも無理ですか?
ありがとう!
[1] https://developer.atlassian.com/static/rest/jira/4.4.1.html#id151460