プロジェクト

全般

プロフィール

Vote #69140

完了

Include allowed activities list in "project" API response

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

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

0%

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

説明

I'm trying to implement createTimeIssue() method in Java.
Redmine REST API expects me to provide activity_id in parameters unless a default activity is defined.
How can I find out what the allowed activities are? What are their IDs?

I think the response sent to "get project" request should include activities list.

As I understand, this file should be updated:
app\views\projects\show.api.rsb


journals

This is duplicate of one or some of the following;
* #4968
* #7180
* #7402
--------------------------------------------------------------------------------
I meant #7819, not #7402.
--------------------------------------------------------------------------------
Closing this, status is resolved since 400 days and more (issue was last updated more than 400 days ago)...
--------------------------------------------------------------------------------
can't see why this issue was closed. neither has the feature been implemented (still no allowed activities in project response), nor ist this explicitly mentioned in one of the related tickets?
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
This is quite frustrating that this functionality is not available. As right now we have a customer who our software can not record time to their Redmine install for one project due to them limiting the activities allowed on that project.

Having this data available in the project feed is essential if you are going to allow limiting things in this manner.
--------------------------------------------------------------------------------
Feature added, you can now get the project activities in the API response using:

GET /projects/[project].(xml|json)?include=time_entry_activities
--------------------------------------------------------------------------------
Thanks Jean-Philippe!

What will the output of that look like? And will it include the default property?
--------------------------------------------------------------------------------

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

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

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

いいね!0
いいね!0