Re: [rt-users] Showing tickets for which the user is a CC on the homepage?

2016-09-29 Thread Alex Hall
To be clear, I did try the saved search route. However, I don't know if
users can add saved searches so they load right on the homepage without the
user first needing to click the right saved search. I've tried to
investigate this, but the dashboard builder isn't very accessible, or I
have no clue how to make sense of it.

The bigger problem is that the query I tried doesn't seem to work. My query
is:

(requester = '__CurrentUser__' OR CC = '__CurrentUser__')
AND ( Status = 'new' OR Status = 'open' OR Status = 'stalled' )

This returns one ticket, which is nothing to do with me at all. I hoped to
make this saved search, somehow make it global, then somehow enable it for
all users' homepages, but I'm not even past the "getting the search to
work" stage. As RT shows owned and new tickets on its own, I'm hoping
there's a way to get this search to work in a similar manner, once it finds
what I want.

On Thu, Sep 29, 2016 at 3:45 PM, Alex Hall  wrote:

> Hi all,
> Is there any way to get a homepage module to show tickets for whom the
> current user is a CC watcher? That is, if Alice CCs Bob on a ticket, Bob
> should be able to see it on his homepage whenever he logs in. He can view
> the ticket if he goes looking for it, but like unowned or owned by user
> tickets, the tickets Bob is CCed on should be right on his homepage. I ran
> across something about custom portlets, but that was for 3.x. Do I need to
> do that, or is this doable some other way? An easier way? Thanks.
>
> --
> Alex Hall
> Automatic Distributors, IT department
> ah...@autodist.com
>



-- 
Alex Hall
Automatic Distributors, IT department
ah...@autodist.com
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017

[rt-users] Showing tickets for which the user is a CC on the homepage?

2016-09-29 Thread Alex Hall
Hi all,
Is there any way to get a homepage module to show tickets for whom the
current user is a CC watcher? That is, if Alice CCs Bob on a ticket, Bob
should be able to see it on his homepage whenever he logs in. He can view
the ticket if he goes looking for it, but like unowned or owned by user
tickets, the tickets Bob is CCed on should be right on his homepage. I ran
across something about custom portlets, but that was for 3.x. Do I need to
do that, or is this doable some other way? An easier way? Thanks.

-- 
Alex Hall
Automatic Distributors, IT department
ah...@autodist.com
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017

Re: [rt-users] DB schema diagrams

2016-09-29 Thread Patrick Muldoon

> On Sep 29, 2016, at 10:37 AM, Matt Zagrabelny  wrote:
> 
> On Thu, Sep 29, 2016 at 9:34 AM,   wrote:
>> Hello,
>> 
>> I'm looking for the schema diagrams for RT 4.2.12, but on the wiki
>> (https://rt-wiki.bestpractical.com/wiki/Schema) there are no links for the
>> following files :
>> - Rt schema.svg
>> - Rt4-schema-relationships.svg
>> and I can't find them on our RT. I only find a schema.dot file in the docs
>> directory of RT, but have no tool to open it.
> 
> dot can be converted to other forms:
> 
> dot -Tpng input.dot > output.png
> 

Which is part of Graphviz   http://www.graphviz.org 

-Patrick

--
Patrick Muldoon
Network/Software Engineer
INOC (http://www.inoc.net)

'But I don't like Spam ' - Monty Python

-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017


Re: [rt-users] DB schema diagrams

2016-09-29 Thread Matt Zagrabelny
On Thu, Sep 29, 2016 at 9:34 AM,   wrote:
> Hello,
>
> I'm looking for the schema diagrams for RT 4.2.12, but on the wiki
> (https://rt-wiki.bestpractical.com/wiki/Schema) there are no links for the
> following files :
> - Rt schema.svg
> - Rt4-schema-relationships.svg
> and I can't find them on our RT. I only find a schema.dot file in the docs
> directory of RT, but have no tool to open it.

dot can be converted to other forms:

dot -Tpng input.dot > output.png

-m
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017


[rt-users] DB schema diagrams

2016-09-29 Thread elifree
Hello, 

I'm looking for the schema diagrams for RT 4.2.12, but on the wiki 
(https://rt-wiki.bestpractical.com/wiki/Schema) there are no links for the 
following files : 
- Rt schema.svg 
- Rt4-schema-relationships.svg 
and I can't find them on our RT. I only find a schema.dot file in the docs 
directory of RT, but have no tool to open it. 

Could it be possible to get a pdf of these 2 files ? 

Thanks a lot, 
Regards, 
Elisabeth 
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017

[rt-users] Fw: Aw: Re: REST API; the plus-character (+) will be not processed; plain email

2016-09-29 Thread MDroemer
Dear RT-users,

the following solution has been implemented:
...
$http({
  url: 'http:///REST/1.0/ticket/new',
  method: "POST",
  headers: {'Content-Type': 'application/x-www-form-urlencoded; 
charset=utf-8'},
  params: { user: $scope.user, pass: $scope.pass },
  data:  'content='+$httpParamSerializerJQLike(content)+'\n'+'Queue: 
'+rtQueue
  })
... 

The content needs to be processed by AngularJS service 
$httpParamSerializerJQLike.

Now, it is working.
All special chaectors are URI-encoded.

Thank you very much for your help.

Rg
Michael
 

Gesendet: Samstag, 24. September 2016 um 11:19 Uhr
Von: mdroe...@gmx.de
An: rt-users@lists.bestpractical.com
Betreff: Aw: Re: [rt-users] REST API; the plus-character (+) will be not 
processed; plain email
Dear RT-users,

thanks for your quick response.

We are using JavaScript API AngularJS and REST API to create new tickets.
There is a similar function in AngularJS, see follow:
encodeURIComponent(content);

Unfortunately it doesn't work, also.

Using firebug the content seems fine.
That means, the submitted data stream over the network is fine.

How can i check in RT the incomming data stream from the client of the REST-API?

What we are wondering, other special characters are visbile, for example '?', 
in a created ticket.

Thank you very much.

Rg
Michael
 
 

Gesendet: Dienstag, 20. September 2016 um 19:08 Uhr
Von: "Landon Stewart" 
An: "mdroe...@gmx.de" 
Cc: "rt-users@lists.bestpractical.com" 
Betreff: Re: [rt-users] REST API; the plus-character (+) will be not processed; 
plain email

On Sep 20, 2016, at 9:41 AM, mdroe...@gmx.de wrote:
 

Dear Request Tracker users,

while we working with special characters, we noticed that the plus-character 
will be not processed by the REST-API, when a new ticket is created.
All other special characters will be processed.

Here a simple content:
content=
id: ticket/new
Subject: Test '\+'
Queue: General
 
You should urlencode that text:
 
$ perl -e 'use URL::Encode qw/url_encode_utf8/; print url_encode_utf8("Test 
+");'
Test+%2B
 
The + here is the space, the %2B is the plus sign from the string.
 

--
Landon Stewart
Lead Analyst - Abuse and Security Management
INTERNAP ®
📧 lstew...@internap.com[lstew...@internap.com]
🌍 
www.internap.com[http://www.internap.com][http://www.internap.com[http://www.internap.com]]
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017