プロジェクト

全般

プロフィール

Vote #69049

完了

REST API for Versions

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
REST API_32
対象バージョン:
開始日:
2011/01/21
期日:
進捗率:

80%

予定工数:
category_id:
32
version_id:
36
issue_org_id:
7403
author_id:
4
assigned_to_id:
0
comments:
9
status_id:
5
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

It would be great to have versions available via the REST API.


journals

+1
I have a database storing some info about our product versions, and for now, i must store redmine version id to display a link to redmine, I think it's bad to store id while it should be very simple for redmine to provide an api to display versions based on project and name.
--------------------------------------------------------------------------------
Hey guys, I've had a crack at doing this. You can grab the changes from my forked code over at Github ->

https://github.com/7city/redmine/commit/97341f33e61761e018f140e1d5e8b06c53e37b3d

I'm not a Ruby developer so I'm sure it can be done much more elegantly!

--------------------------------------------------------------------------------
Forgot to add, to fetch the versions as XML simply append ".xml" to the normal Roadmap URL as such:

http://redmine/projects/myproject/roadmap.xml

I did think of using versions.xml or something like that but I'm sure the Redmine core team have some better ideas on that.
--------------------------------------------------------------------------------
URL is better now:

<pre>
/versions.xml?project_id=<project number of url-friendly name>
</pre>

Ramesh Nair wrote:
> Forgot to add, to fetch the versions as XML simply append ".xml" to the normal Roadmap URL as such:
>
> http://redmine/projects/myproject/roadmap.xml
>
> I did think of using versions.xml or something like that but I'm sure the Redmine core team have some better ideas on that.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Added in r6180. See [[Rest_Versions]].
--------------------------------------------------------------------------------
I'll add support to Redmine Java API: http://code.google.com/p/redmine-java-api/issues/detail?id=56
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,9088,REST API to create Project Versions

Admin Redmine さんが3年以上前に更新

  • カテゴリREST API_32 にセット
  • 対象バージョン1.3.0_36 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0