Red Hat Bugzilla – Bug 836514
create_ticket() function doesn't assign 'assignee' value to a ticket assignee
Last modified: 2016-11-30 19:42:38 EST
Created attachment 595262 [details]
a proposed patch
Description of problem:
create_ticket() function accepts the 'assignee' parameter. One can assume that a value from this parameter is to be used as an user name assigned to a ticket. In spite of assumption a value for the assignee is never used by trac server. An assignee value is stored in an attributes dictionary as a value of a 'assignee' key. The attributes dictionary is sent to trac server but trac server doesn't assign the 'assignee' value to a ticket. If someone wants to set 'assignee' of a ticket then he must set the 'owner' attribute.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
s = offtrac.TracServer(...)
s.create_ticket("summary", "description", assignee="assignee")
an assignee value is not visible in web interface
The same result as a result of the 'reassign to' web ui action
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Would it make sense to just alias assignee to owner in python-offtrac?
python-offtrac-0.0.4-1.fc18 has been submitted as an update for Fedora 18.
python-offtrac-0.0.4-1.fc17 has been submitted as an update for Fedora 17.
python-offtrac-0.0.4-1.el6 has been submitted as an update for Fedora EPEL 6.
python-offtrac-0.0.4-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
python-offtrac-0.0.4-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
python-offtrac-0.0.4-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.