diff options
Diffstat (limited to 'app/helpers/projects_helper.rb')
-rw-r--r-- | app/helpers/projects_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 6a995fe63..d4f7339a0 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -167,7 +167,7 @@ module ProjectsHelper end if include_in_api_response?('enabled_modules') api.array :issue_custom_fields do - project.issue_custom_fields.each do |custom_field| + project.all_issue_custom_fields.each do |custom_field| api.custom_field(:id => custom_field.id, :name => custom_field.name) end end if include_in_api_response?('issue_custom_fields') |