Pyral で欠陥を更新し、変更の作成者が Rally へのログインに使用されたユーザー ID 以外の別のユーザーであることを示す方法はありますか?
これが私が試したことですが、うまくいきません:
rally = Rally(server, user, password)
rally.enableLogging('rallyConnection.log')
rally.setProject("RallyTestPrj")
defectID = 'DE9221'
notes = "Adding new note from Python"
author = rally.getUserInfo(username='rallyTest@test.com').pop(0)
defect_data = { "FormattedID" : defectID,
"Notes" : notes,
"Author" : author.Name
}
try:
defect = rally.update('Defect', defect_data)
except Exception, details:
sys.stderr.write('ERROR: %s \n' % details)
sys.exit(1)
print "Defect updated"
私もauthor.DisplayName、author.EmailAddressを試しましたが、Pythonスクリプトを実行するために資格情報が使用されているユーザーからの欠陥への変更をまだ記録しています。