我假設你已經克隆了存儲庫並開始瀏覽代碼。
問題#更新操作中有一行顯示它可能是權限問題。
@allowed_statuses = @issue.new_statuses_allowed_to(User.current)
確保用戶有權更改給定問題的狀態和優先級。
我已經從我的一個項目中爲問題添加了所有字段的示例。
id: 83,
tracker_id: 2,
project_id: 8,
subject: "Comments",
description: "Add comments to the trace on list and on graph view...",
due_date: nil,
category_id: nil,
status_id: 1,
assigned_to_id: 1,
priority_id: 4,
fixed_version_id: nil,
author_id: 1,
lock_version: 0,
created_on: "2012-01-23 14:04:11",
updated_on: "2012-01-23 14:04:11",
start_date: "2012-01-23",
done_ratio: 0,
estimated_hours: nil,
parent_id: nil,
root_id: 83,
lft: 1,
rgt: 2,
is_private: false
不,您在說哪個存儲庫? –
Redmine源代碼。 [這裏是](https://github.com/redmine/redmine)git回購。確保您正在查看您使用的Redmine版本的相應分支。 – badams
允許使用API的用戶管理項目。當使用瀏覽器時,它可以改變所有需要的東西。使用API我不能/不知道如何更改類中的字段。例如「issue.status」是一個IssueStatus類。 –