Owner list on 'Quick ticket creation'

For the ‘Quick ticket creation’ section on the At-a-glance page, is
there a permission change or easy mod to have it show all potential
owners (the list I see if I go to the full ticket creation)? It
presently only lists the yourself and Nobody.

Thank you.

-Brandon

At Wednesday 5/11/2005 01:07 PM, Brandon Pulsipher wrote:

For the Quick ticket creationsection on the At-a-glance page, is there a
permission change or easy mod to have it show all potential owners (the
list I see if I go to the full ticket creation)? It presently only lists
the yourself and Nobody.

The problem is that all potential owners (in the system) could be a very
long list and might take a long time to put together. On the full ticket
creation you’ve chosen a queue, so the list potential owners is limited
and it’s more reasonable to display it.

Not that you couldn’t show the whole list on the home page - just that it
might give you very bad response time and a very long drop down list.

Steve

Stephen Turner
Senior Programmer/Analyst - Client Support Services
MIT Information Services and Technology (IS&T)

Understandable. I’ve only got about 15 potential owners today, and
don’t expect this to grow beyond 25-30 in the next year, maybe 50
all-time. Seems like that shouldn’t impact load time considerably.

I have found the file that handle this: QuickCreate in the Elements
folder, but I’m not sure of the Perl changes.

This is the code right now:

Bob <%$session{'CurrentUser'}->Name %> <%loc('Nobody')%>

Any gurus offer the changes to get a list of all potential owners?
Maybe another approach would be to list all users in a group. I could
then create a quickcreate group, to show the users I want to. Possible?

Thanks in advance.From: Stephen Turner [mailto:sturner@MIT.EDU]
Sent: Wednesday, May 11, 2005 12:03 PM
To: Brandon Pulsipher; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Owner list on ‘Quick ticket creation’

At Wednesday 5/11/2005 01:07 PM, Brandon Pulsipher wrote:

For the Quick ticket creationsection on the At-a-glance page, is there
a
permission change or easy mod to have it show all potential owners (the

list I see if I go to the full ticket creation)? It presently only
lists
the yourself and Nobody.

The problem is that all potential owners (in the system) could be a very

long list and might take a long time to put together. On the full ticket

creation you’ve chosen a queue, so the list potential owners is limited

and it’s more reasonable to display it.

Not that you couldn’t show the whole list on the home page - just that
it
might give you very bad response time and a very long drop down list.

Steve

Stephen Turner
Senior Programmer/Analyst - Client Support Services
MIT Information Services and Technology (IS&T)

At Wednesday 5/11/2005 03:41 PM, Brandon Pulsipher wrote:

Understandable. I’ve only got about 15 potential owners today, and
don’t expect this to grow beyond 25-30 in the next year, maybe 50
all-time. Seems like that shouldn’t impact load time considerably.

I have found the file that handle this: QuickCreate in the Elements
folder, but I’m not sure of the Perl changes.

This is the code right now:

Bob <%$session{'CurrentUser'}->Name %> <%loc('Nobody')%>

Any gurus offer the changes to get a list of all potential owners?
Maybe another approach would be to list all users in a group. I could
then create a quickcreate group, to show the users I want to. Possible?

Thanks in advance.

Brandon

I haven’t used this, so I can’t guarantee it will do what you need, but…

Look at Users_Overlay.pm - there’s a method called WhoHaveRight that looks
like it might for work for you:

$Users->WhoHaveRight ( Right => ‘OwnTicket’)

where $Users is a RT::Users object.

Steve

Thanks. I actually was able to do what I wanted by moving the
QuickCreate element to the local directories and modifying the drop down
to:

<&|/l&>Owner</&>:

<& /Elements/SelectOwner, Name => “Owner”, QueueObj => undef, Default
=> $ARGS{Owner}||$RT::Nobody->Id, DefaultValue => 0 &>

-BrandonFrom: Stephen Turner [mailto:sturner@MIT.EDU]
Sent: Thursday, May 12, 2005 8:56 AM
To: Brandon Pulsipher; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] Owner list on ‘Quick ticket creation’

At Wednesday 5/11/2005 03:41 PM, Brandon Pulsipher wrote:

Understandable. I’ve only got about 15 potential owners today, and
don’t expect this to grow beyond 25-30 in the next year, maybe 50
all-time. Seems like that shouldn’t impact load time considerably.

I have found the file that handle this: QuickCreate in the Elements
folder, but I’m not sure of the Perl changes.

This is the code right now:

Bob <%$session{'CurrentUser'}->Name %> <%loc('Nobody')%>

Any gurus offer the changes to get a list of all potential owners?
Maybe another approach would be to list all users in a group. I could
then create a quickcreate group, to show the users I want to.
Possible?

Thanks in advance.

Brandon

I haven’t used this, so I can’t guarantee it will do what you need,
but…

Look at Users_Overlay.pm - there’s a method called WhoHaveRight that
looks
like it might for work for you:

$Users->WhoHaveRight ( Right => ‘OwnTicket’)

where $Users is a RT::Users object.

Steve