Project

General

Profile

Defect #38668 » projects_helper.rb.diff

Hirokazu Onozato, 2023-06-07 12:28

View differences:

app/helpers/projects_helper.rb (working copy)
167 167
    end if include_in_api_response?('enabled_modules')
168 168

  
169 169
    api.array :issue_custom_fields do
170
      project.issue_custom_fields.each do |custom_field|
170
      project.all_issue_custom_fields.each do |custom_field|
171 171
        api.custom_field(:id => custom_field.id, :name => custom_field.name)
172 172
      end
173 173
    end if include_in_api_response?('issue_custom_fields')
(3-3/3)