You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/issues/edit.json.jbuilder

11 lines
407 B

json.partial! "commons/success"
json.extract! @issue, :id,:subject,:description,:is_private,:assigned_to_id,:tracker_id,:status_id,:priority_id,:fixed_version_id,
:start_date,:due_date,:estimated_hours,:done_ratio
json.issue_chosen @issue_chosen
json.attachments do
json.array! @issue_attachments do |attachment|
json.partial! "attachments/attachment", attachment: attachment
end
end