Feature #7506
closedInclude allowed activities list in "project" API response
0%
Description
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
Updated by Bevan Rudge over 13 years ago
- Status changed from New to Resolved
Updated by Jan Niggemann (redmine.org team member) almost 12 years ago
Closing this, status is resolved since 400 days and more (issue was last updated more than 400 days ago)...
Updated by Jan Niggemann (redmine.org team member) almost 12 years ago
- Status changed from Resolved to Closed
Updated by Matthias Schelling about 10 years 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?
Updated by Toshi MARUYAMA about 10 years ago
- Status changed from Closed to New
- Assignee deleted (
Jean-Philippe Lang)
Updated by Edward Rudd almost 8 years ago
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.
Updated by Jean-Philippe Lang almost 8 years ago
- Subject changed from include allowed activities list in "project" response to Include allowed activities list in "project" API response
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Target version set to 3.4.0
- Resolution set to Fixed
Feature added, you can now get the project activities in the API response using:
GET /projects/[project].(xml|json)?include=time_entry_activities
Updated by Edward Rudd almost 8 years ago
Thanks Jean-Philippe!
What will the output of that look like? And will it include the default property?