Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

New ticket field should be 'Set Owner', not 'Assign to'

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


ryano at physiosonics

Jul 13, 2009, 1:19 PM

Post #1 of 4 (131 views)
Permalink
New ticket field should be 'Set Owner', not 'Assign to'

Hello,

I was very confused that my tickets where not changing to the Status:
assigned when I set the 'Assign to' field during ticket creation. I
went off searching and found a nice explanation [1].

I thought I would pose the following question for comment before I
went off and created a ticket:

When a user is selected from the 'Assign to' field during ticket
creation, the Owner of the ticket is changed, however the Status is
not changed. Therefore, shouldn't this field be named 'Set Owner' or
'Owner:'? It is only setting the owner; it is not assigning the
ticket. Renaming this field might reduce some of the confusion that I
and others have experienced.

Is there a way I could rename the field for my trac instance?

[1]
http://groups.google.com/group/trac-users/browse_thread/thread/fe7770ab0cfd3145/187251e948a03bea?lnk=gst&q=ticket+create+assigned#187251e948a03bea

- Ryan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


ryano at physiosonics

Jul 15, 2009, 1:06 PM

Post #2 of 4 (113 views)
Permalink
Re: New ticket field should be 'Set Owner', not 'Assign to' [In reply to]

It looks like I can rename the 'Assign to' field by changing line 1093
(Trac 0.11.4) in /trac/ticket/web_ui.py [1].

1092: if not ticket.exists:
1093: field['label'] = 'Assign to'
1094: if 'TICKET_MODIFY' in req.perm(ticket.resource):

Is this the 'proper' way to modify the field, or is there a better
way?

Looking at the BlackMagicTicketTweaksPlugin [2] hints at a better way,
but it seems like it should be unnecessary to install a plug-in for
such a simple change. The downside I see is the need to preserve this
change through Trac upgrades.

[1] http://trac.edgewall.org/browser/tags/trac-0.11.4/trac/ticket/web_ui.py
[2] http://trac-hacks.org/wiki/BlackMagicTicketTweaksPlugin

- Ryan

On Jul 13, 1:19 pm, RJOllos <ry...@physiosonics.com> wrote:
> Hello,
>
> I was very confused that my tickets where not changing to the Status:
> assigned when I set the 'Assign to' field during ticket creation.  I
> went off searching and found a nice explanation [1].
>
> I thought I would pose the following question for comment before I
> went off and created a ticket:
>
> When a user is selected from the 'Assign to' field during ticket
> creation, the Owner of the ticket is changed, however the Status is
> not changed.  Therefore, shouldn't this field be named 'Set Owner' or
> 'Owner:'?  It is only setting the owner; it is not assigning the
> ticket.  Renaming this field might reduce some of the confusion that I
> and others have experienced.
>
> Is there a way I could rename the field for my trac instance?
>
> [1]http://groups.google.com/group/trac-users/browse_thread/thread/fe7770...
>
> - Ryan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


DWinslow at aiminstitute

Jul 15, 2009, 1:32 PM

Post #3 of 4 (113 views)
Permalink
Re: New ticket field should be 'Set Owner', not 'Assign to' [In reply to]

You can rename fields using one of the plugins...blackmagic I think.
-----Original Message-----
From: trac-users[at]googlegroups.com [mailto:trac-users[at]googlegroups.com] On Behalf Of RJOllos
Sent: Wednesday, July 15, 2009 3:07 PM
To: Trac Users
Subject: [Trac] Re: New ticket field should be 'Set Owner', not 'Assign to'


It looks like I can rename the 'Assign to' field by changing line 1093
(Trac 0.11.4) in /trac/ticket/web_ui.py [1].

1092: if not ticket.exists:
1093: field['label'] = 'Assign to'
1094: if 'TICKET_MODIFY' in req.perm(ticket.resource):

Is this the 'proper' way to modify the field, or is there a better
way?

Looking at the BlackMagicTicketTweaksPlugin [2] hints at a better way,
but it seems like it should be unnecessary to install a plug-in for
such a simple change. The downside I see is the need to preserve this
change through Trac upgrades.

[1] http://trac.edgewall.org/browser/tags/trac-0.11.4/trac/ticket/web_ui.py
[2] http://trac-hacks.org/wiki/BlackMagicTicketTweaksPlugin

- Ryan

On Jul 13, 1:19 pm, RJOllos <ry...@physiosonics.com> wrote:
> Hello,
>
> I was very confused that my tickets where not changing to the Status:
> assigned when I set the 'Assign to' field during ticket creation.  I
> went off searching and found a nice explanation [1].
>
> I thought I would pose the following question for comment before I
> went off and created a ticket:
>
> When a user is selected from the 'Assign to' field during ticket
> creation, the Owner of the ticket is changed, however the Status is
> not changed.  Therefore, shouldn't this field be named 'Set Owner' or
> 'Owner:'?  It is only setting the owner; it is not assigning the
> ticket.  Renaming this field might reduce some of the confusion that I
> and others have experienced.
>
> Is there a way I could rename the field for my trac instance?
>
> [1]http://groups.google.com/group/trac-users/browse_thread/thread/fe7770...
>
> - Ryan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


ryano at physiosonics

Jul 15, 2009, 1:44 PM

Post #4 of 4 (113 views)
Permalink
Re: New ticket field should be 'Set Owner', not 'Assign to' [In reply to]

I opened a ticket (1) for this to see what the developers have to say.

(1) http://trac.edgewall.org/ticket/8484

On Jul 15, 1:06 pm, RJOllos <ry...@physiosonics.com> wrote:
> It looks like I can rename the 'Assign to' field by changing line 1093
> (Trac 0.11.4)  in /trac/ticket/web_ui.py [1].
>
> 1092:  if not ticket.exists:
> 1093:                field['label'] = 'Assign to'
> 1094:                if 'TICKET_MODIFY' in req.perm(ticket.resource):
>
> Is this the 'proper' way to modify the field, or is there a better
> way?
>
> Looking at the BlackMagicTicketTweaksPlugin [2] hints at a better way,
> but it seems like it should be unnecessary to install a plug-in for
> such a simple change.  The downside I see is the need to preserve this
> change through Trac upgrades.
>
> [1]http://trac.edgewall.org/browser/tags/trac-0.11.4/trac/ticket/web_ui.py
> [2]http://trac-hacks.org/wiki/BlackMagicTicketTweaksPlugin
>
> - Ryan
>
> On Jul 13, 1:19 pm, RJOllos <ry...@physiosonics.com> wrote:
>
> > Hello,
>
> > I was very confused that my tickets where not changing to the Status:
> > assigned when I set the 'Assign to' field during ticket creation.  I
> > went off searching and found a nice explanation [1].
>
> > I thought I would pose the following question for comment before I
> > went off and created a ticket:
>
> > When a user is selected from the 'Assign to' field during ticket
> > creation, the Owner of the ticket is changed, however the Status is
> > not changed.  Therefore, shouldn't this field be named 'Set Owner' or
> > 'Owner:'?  It is only setting the owner; it is not assigning the
> > ticket.  Renaming this field might reduce some of the confusion that I
> > and others have experienced.
>
> > Is there a way I could rename the field for my trac instance?
>
> > [1]http://groups.google.com/group/trac-users/browse_thread/thread/fe7770...
>
> > - Ryan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.