Feature #35505 » 0001-adds-enabled-tracker-core-fields-to-trackers-API-res.patch
app/views/trackers/index.api.rsb | ||
---|---|---|
5 | 5 |
api.name tracker.name |
6 | 6 |
api.default_status(:id => tracker.default_status.id, :name => tracker.default_status.name) unless tracker.default_status.nil? |
7 | 7 |
api.description tracker.description |
8 |
api.array :enabled_standard_fields do |
|
9 |
tracker.core_fields.each do |field| |
|
10 |
api.field field |
|
11 |
end |
|
12 |
end |
|
8 | 13 |
end |
9 | 14 |
end |
10 | 15 |
end |