プロジェクト

全般

プロフィール

Vote #75203

未完了

API for Issues with < or > signs (not followed by equal sign (=))

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

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

0%

予定工数:
category_id:
32
version_id:
0
issue_org_id:
16807
author_id:
101087
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

Hello,

I guess I've found bug with Issues API. The problem exists with query like this:
@/issues.json?limit=100&offset=0&project_id=30&status_id=5&closed_on=<2014-04-01&sort=closed_on@

The following query works just like it is supposed to
@/issues.json?limit=100&offset=0&project_id=30&status_id=5&closed_on=<=2014-04-01&sort=closed_on@

The difference is in equal sign in closed_on parameter. I think when I'm avoiding equal sign, the query should return issues with closed date LESS THAN provided date. However query returns error in paramer closed on.

Both queries are passed in url-encoded format.

Info about installation:
Redmine version: 2.5.0.stable
Ruby version: 2.0.0-p353 (2013-11-22) [x86_64-linux]
Rails version: 3.2.17
Environment: production
Database adapter: Mysql2


journals

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

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

  • カテゴリREST API_32 にセット

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

いいね!0
いいね!0