FW: Assistance with a wget query


#1

My sincere apologies for wasting everyone’s time. It was a permissions
problem on the custom field.

Doh!

Thanks to everyone who thought about it for a moment.

BenRFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Ben
Robson
Sent: Thursday, 17 July 2008 2:01 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Assistance with a wget query

Hi all,

I’m hoping someone can provide some insight/thoughts on an issue I am
having with a wget request for a page from RT.

If I do the following from the web browser I get exactly what I’d
expect, including all of the CustomField requested data:

http://rtserver.internal/AssetTracker/Search/Results.html?user=rtusernam
e&pass=rtpassword&Order=ASC&Query=Type = ‘AssetType’ AND Status !=
‘retired’ AND ‘CF.{CustomValue1}’ > ‘0’ AND Name LIKE
’AssetName’&Rows=&OrderBy=id&Format=‘Name/TITLE:Asset Name’,
Description/TITLE:Description’, ‘CustomField.{CustomerValue1}’,
CustomField.{CustomValue2}

However if I do the same from a command line using wget, as follows, I
get everything the same, except the table cells that previously
contained CustomValue1 and CustomValue2 are now empty. I proved this
doing the same query using Links (Linux CLI browser) as well and get the
same outcome as wget.

Does anyone have any insight why the query, with formatting, works as a
bookmarkable query in a web browser but not from the commandline?

Thanks heaps for this.

BenR

The information contained in this communication is intended solely
for the use of the individual or entity to whom it is addressed and
others authorised to receive it. It may contain confidential or legally
privileged information. If you are not the intended recipient you are
hereby notified that any disclosure, copying, distribution or taking any
action in reliance on the contents of this information is strictly
prohibited and may be unlawful. If you have received this communication
in error, please notify us immediately by responding to this email and
then delete it, and any associated attachments, from your system. Thank
you.

ATT2794544.txt (329 Bytes)