Allow "HTTP Basic Auth" for rt commandline tool

Hello!

This patch lets RT sites that use WebExternalAuth via HTTP Basic Auth use
the commandline tool. The attached patch was generated against rt-3.5.5.

(Please CC me, I’m not on the list…)

Kees Cook
Open Source Development Lab
kees@osdl.org

rt-auth.patch (1.89 KB)

Hi,

can someone hint out the syntax (oh…if possible at all…) to me to fill
customfields via the URL in ticket create?

I Imagine something like this:

https://rt.domain.com/Ticket/Create.html?
Queue=30&
Subject=bb&
Requestors=+4122123123&
CustomField-53=abc

works ok for Queue, Subject and Requestor, but my custom field 53 stays
empty.

thanks
Alex

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Custom Fields do not have have this capacity in Ticket/Create.html. You
can submit with custom fields prepopulated, but not prepopulate and display.

Joby Walker
ITI SSG, University of Washington


PGP key: https://staff.washington.edu/joby/joby-u-pub.asc

Alexander Finger wrote:

Hi,

can someone hint out the syntax (oh…if possible at all…) to me to fill
customfields via the URL in ticket create?

I Imagine something like this:

https://rt.domain.com/Ticket/Create.html?
Queue=30&
Subject=bb&
Requestors=+4122123123&
CustomField-53=abc

works ok for Queue, Subject and Requestor, but my custom field 53 stays
empty.

thanks
Alex


Rt-devel mailing list
Rt-devel@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDOB8jgA0gpghkf88RAnHGAKCvSp72McsqO+XyIUx5MMVhCaYNMwCfcva7
KSSrh5rVLPc7g90l+rzqAL4=
=8/Lx
-----END PGP SIGNATURE-----

I ended up writing a wrapper in Perl:

-> Phone call comes in, User picks up
-> Softphone calls Wrapper via URL and transmits Caller-ID as well as
startdatetime
-> Wrapper opens RT.pm, creates the ticket and populates the customfileds
-> Wrapper then offers links to the ticket directly

As I am running basic auth on the apache, I have even the username in
the Wrapper, so i can assign the ticket to the right person.

just to let you know.