Bug 836514

Summary: create_ticket() function doesn't assign 'assignee' value to a ticket assignee
Product: [Fedora] Fedora Reporter: Jakub Filak <jfilak>
Component: python-offtracAssignee: Ralph Bean <rbean>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: jberan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-10 20:13:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
a proposed patch none

Description Jakub Filak 2012-06-29 11:25:37 UTC
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):
python-offtrac-0.0.3-4

How reproducible:
always

Steps to Reproduce:
import offtrac
s = offtrac.TracServer(...)
s.create_ticket("summary", "description", assignee="assignee")
  
Actual results:
an assignee value is not visible in web interface

Expected results:
The same result as a result of the 'reassign to' web ui action

Comment 1 Fedora Admin XMLRPC Client 2012-11-27 01:39:56 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Ralph Bean 2013-02-25 18:43:41 UTC
Would it make sense to just alias assignee to owner in python-offtrac?

Comment 3 Fedora Update System 2013-02-25 19:35:46 UTC
python-offtrac-0.0.4-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-offtrac-0.0.4-1.fc18

Comment 4 Fedora Update System 2013-02-25 19:36:18 UTC
python-offtrac-0.0.4-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-offtrac-0.0.4-1.fc17

Comment 5 Fedora Update System 2013-02-25 19:36:56 UTC
python-offtrac-0.0.4-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-offtrac-0.0.4-1.el6

Comment 6 Fedora Update System 2013-03-16 18:08:49 UTC
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.

Comment 7 Fedora Update System 2013-03-17 00:49:07 UTC
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.

Comment 8 Fedora Update System 2013-03-17 00:57:43 UTC
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.