[rt-users] FW: Assistance with a wget query

Ben Robson benr at tlcdatasecurity.com.au
Thu Jul 17 00:23:06 EDT 2008


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.

 

BenR

 

 

From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Ben
Robson
Sent: Thursday, 17 July 2008 2:01 PM
To: rt-users at 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. 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080717/13bdca70/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT1234741.txt
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080717/13bdca70/attachment.txt>


More information about the rt-users mailing list