1

我想从 Rally 中删除 UserIterationCapacity。提供的语法是delete(entityName, itemIdent, workspace=None, project=None). 如何提供项目标识符或 itemIdent?

我知道我需要删除的记录的详细信息如下。

oid       : 332661613164
ref       : useriterationcapacity/332661613164
ObjectID  : 332661613164

我尝试使用以下语法。

info = { "ObjectID" : 332661613164,
    "Workspace" : Workspace,
    "Project" : Project
}

UserIterationCapacity_ID = rally_all_rights.delete('UserIterationCapacity', info )

我得到以下错误。

 RallyResponseError: Response for request: useriterationcapacity/{'ObjectID': 332661613164, 'Workspace': 'workspace/182531535356', 'Project': 'project/199932093140'}?key=None&workspace=workspace/182531535356&project=project/199932093140&projectScopeUp=false&projectScopeDown=false either was not JSON content or was an invalidly formed/incomplete JSON structure
4

0 回答 0