gitlink-forgeplus/app/views/pull_requests/edit.json.jbuilder

10 lines
492 B
Ruby

json.partial! "commons/success"
# json.partial! "pull_requests/merge_item"
json.fork_project_user @fork_project_user
json.fork_project_identifier @fork_project_identifier
json.project_author @project.owner.try(:show_real_name)
json.project_name @project.repository.try(:identifier)
json.extract! @pull_request, :id, :title, :body, :milestone,:head,:base,:is_original
json.extract! @issue, :assigned_to_id, :fixed_version_id, :priority_id
json.issue_tag_ids @issue.issue_tags_value.split(",")