Actions
Patch #41935
closedAdd "editable" attribute in the custom fields API response
Added by salman mp 5 months ago. Updated 13 days ago.
Start date:
Due date:
% Done:
0%
Estimated time:
Description
editable field is not shown in custom fields json/xml
Files
return_editable_field_for_UserCustomFields_in_API.patch (1.53 KB) return_editable_field_for_UserCustomFields_in_API.patch | salman mp, 2024-12-04 07:30 | ||
return_editable_field_for_UserCustomFields_in_API-fixed.patch (837 Bytes) return_editable_field_for_UserCustomFields_in_API-fixed.patch | salman mp, 2024-12-04 07:31 |
Updated by Go MAEDA 5 months ago
- Tracker changed from Patch to Defect
- Subject changed from Show "editable" attribute on CustomField list API to Custom Fields API does not include "editable" attribute in the response
- Status changed from New to Confirmed
- Target version set to 6.0.3
Thank you for reporting this issue.
I am setting the target version to 6.0.3.
The following patch updates the tests to detect this issue.
diff --git a/test/integration/api_test/custom_fields_test.rb b/test/integration/api_test/custom_fields_test.rb
index 0df56e59a..ca772417a 100644
--- a/test/integration/api_test/custom_fields_test.rb
+++ b/test/integration/api_test/custom_fields_test.rb
@@ -29,6 +29,7 @@ class Redmine::ApiTest::CustomFieldsTest < Redmine::ApiTest::Base
assert_select 'custom_field' do
assert_select 'name', :text => 'Database'
assert_select 'description', :text => 'Select one of the databases'
+ assert_select 'editable', :text => 'true'
assert_select 'id', :text => '2'
assert_select 'customized_type', :text => 'issue'
assert_select 'possible_values[type=array]' do
Updated by Marius BĂLTEANU 13 days ago
- Tracker changed from Defect to Patch
- Status changed from Confirmed to Resolved
- Assignee set to Marius BĂLTEANU
editable
attribute added to the custom fields API response.
Updated by Marius BĂLTEANU 13 days ago
- Subject changed from Custom Fields API does not include "editable" attribute in the response to Add "editable" attribute in the custom fields API response
Updated by Marius BĂLTEANU 13 days ago
- Status changed from Resolved to Closed
- Target version changed from 6.0.5 to 5.1.8
Merged to stable branches.
Actions