0
我怎樣才能爲反彈缺損Pyral創建一個討論議題?拉力賽的Python API:加入討論投奔
這是我到目前爲止有:
rally = Rally(server, user, password)
rally.enableLogging('rallyConnection.log')
rally.setProject("RallyTestPrj")
defectID = 'DE9221'
notes = "Adding new note from Python"
discussion = "Adding discussion from Python"
defect_data = { "FormattedID" : defectID,
"Notes" : notes,
"Discussion" : discussion
}
try:
defect = rally.update('Defect', defect_data)
except Exception, details:
sys.stderr.write('ERROR: %s \n' % details)
sys.exit(1)
print "Defect updated"