プロジェクト

全般

プロフィール

Vote #63202

完了

REST API for Issues

Admin Redmine さんが約4年前に追加. 約4年前に更新.

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

100%

予定工数:
category_id:
32
version_id:
14
issue_org_id:
1214
author_id:
5
assigned_to_id:
5
comments:
17
status_id:
5
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Part of the main REST API issue (#296), this should expose some APIs to work with issues.

  • Get a list of issues
  • Create a new issue
  • Update an existing issue
  • Delete an issue

journals

Im for this approach as well. See #725. I would like to see this API implemented as SOAP 1.2 compliant.
--------------------------------------------------------------------------------
+1.
Need this to replace "csv import plugin"(and then import thousands of tasks from excel)
--------------------------------------------------------------------------------
Incidentally, the author of "csv import plugin" recognizes that the plugin does not work: (.
Are there any other methods of import issues in large volumes?

P.S. I speak English not just bad, but badly, I know:)
--------------------------------------------------------------------------------
Feature added in r3310.
Documentation started at [[Rest_api]].
--------------------------------------------------------------------------------
You've done it maaan:))) Awesome!!! Big thanks, Jean!
--------------------------------------------------------------------------------
Shouldn't this be targeted for 1.0 and not 0.9.1? I thought the 0.9 series was in RC and new features are for 1.0 only?
--------------------------------------------------------------------------------
You're right, 0.9 is in RC.
But it's not a big change and it would be a shame to have a API style authentication without any API behind in 0.9. This API should be considered as a draft in 0.9 so we can get some feedback and improve it for 1.0.
--------------------------------------------------------------------------------
Jean-Philippe Lang wrote:
> But it's not a big change and it would be a shame to have a API style authentication without any API behind in 0.9. This API should be considered as a draft in 0.9 so we can get some feedback and improve it for 1.0.

I'd disagree, this is a moderate sized change. It adds an entire API, new views, and some more routes. (From what I'm seeing, it's also missing the JSON format)

Also 0.9 already included part of the XML/JSON API for News to test the API authentications (http://www.redmine.org/issues/3920#note-8). My goal was to get API authentication tested and into 0.9 so plugin developers can take advantage of it to build APIs for their plugins while the core had time to refine the main REST API.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I just updated our installation today from master (github) -> version 0.9.1.

* /projects.xml returns usable XML, but
* /issues.xml returns html

The begin of the HTML is:

<pre><code class="html">
<h2>Issues</h2>


<form action="/queries/new" id="query_form" method="post"><div style="margin:0;padding:0;display:inline"><input name="authenticity_token" type="hidden" value="TgnsQpEayRkvUZGDHNfYmQSvo/Fs/yQPPnK/Pz6IM8Y=" /></div>

<div id="query_form_content">
<fieldset id="filters"><legend>Filters</legend>
<script type="text/javascript">
</code></pre>

Any ideas on what is wrong?
--------------------------------------------------------------------------------
I am looking forward to seeing this happen. For areas I am interested in using it, I would want JSON data (for example, any mobile device at this time handles XML very slowly compared to JSON), so I am glad to see it's being provided so far and I hope continues to be going forward. :)
--------------------------------------------------------------------------------
I’ve got the same issue like Henrik. Projects.xml works just fine, but issues.xml returns html.
I just updated from github to Version 0.9.2dev.
Any Ideas?
--------------------------------------------------------------------------------
Hannes and Henrik, the issues.xml issue is a new bug regarding functionality that has been introduced and is believed to be working, please file a new bug for that problem.
--------------------------------------------------------------------------------
Hi there... I just submitted a bug report Issues #4795.
Hopefully this is going to be fixed soon ;-)
--------------------------------------------------------------------------------
Just to give some feedback. The problem Henrik and I mentioned was solved for me, if I removed the redmine_subtasks_plugin.
Is had nothing to do with redmine itself.
--------------------------------------------------------------------------------
Reopening this, the JSON format isn't finished yet and I want to make sure it isn't missed.
--------------------------------------------------------------------------------
Added json support to the issues API (r3766).
--------------------------------------------------------------------------------


related_issues

relates,Closed,296,REST API
relates,Closed,5305,"related issues" info is required in XML data
blocks,Closed,3920,REST API for authentication

Admin Redmine さんが約4年前に更新

  • カテゴリREST API_32 にセット
  • 対象バージョン1.0.0 (RC)_14 にセット

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

いいね!0
いいね!0