We’re planning to build our own webinterface to use when creating
tickets. We need to use custom fields, what I can see RT CLI are not
supporting CF, have I understand this correct?
What’s the best way to do this, create a perl script that make the job
or send the data as mail and let the mail-gate do the job?
Can you elaborate on this. I can’t seem to figure out how to display my
custom fields via the cli. I am using rt 0.02 which came with rt-3.6.1
Carl
Jens,
RT-3.5.8 supports CF.
Jens Andersson wrote:
We’re planning to build our own webinterface to use when creating
tickets. We need to use custom fields, what I can see RT CLI are not
supporting CF, have I understand this correct?
What’s the best way to do this, create a perl script that make the job
or send the data as mail and let the mail-gate do the job?
The confusing thing about the rt CLI tool in regard to custom fields is
that searching requires a syntax like ‘CF.{Training}’ and showing uses
the ‘CF-Training’ form.
Can you elaborate on this. I can’t seem to figure out how to display my
custom fields via the cli. I am using rt 0.02 which came with rt-3.6.1
Carl
Assuming you have a custom field called ‘Training’ associated with
ticket number 45367, you could do the following:
user@host:> rt show -f CF-Training,Subject,Priority ticket/45367
id: ticket/45367
CF-Training: Yes
Subject: Whatever the subject is currently set to
Priority: 10
The confusing thing about the rt CLI tool in regard to custom fields is
that searching requires a syntax like ‘CF.{Training}’ and showing uses
the ‘CF-Training’ form.
HTH
Thanks for the info.
What if I have a custom filed that has a white space in it?
Can you elaborate on this. I can’t seem to figure out how to display my
custom fields via the cli. I am using rt 0.02 which came with rt-3.6.1
Carl
Assuming you have a custom field called ‘Training’ associated with
ticket number 45367, you could do the following:
user@host:> rt show -f CF-Training,Subject,Priority ticket/45367
id: ticket/45367
CF-Training: Yes
Subject: Whatever the subject is currently set to
Priority: 10
The confusing thing about the rt CLI tool in regard to custom fields is
that searching requires a syntax like ‘CF.{Training}’ and showing uses
the ‘CF-Training’ form.
HTH
I must still be doing something wrong. Here is what I have for custom fields:
Can you elaborate on this. I can’t seem to figure out how to display my
custom fields via the cli. I am using rt 0.02 which came with rt-3.6.1
Carl
Assuming you have a custom field called ‘Training’ associated with
ticket number 45367, you could do the following:
user@host:> rt show -f CF-Training,Subject,Priority ticket/45367
id: ticket/45367
CF-Training: Yes
Subject: Whatever the subject is currently set to
Priority: 10
The confusing thing about the rt CLI tool in regard to custom fields is
that searching requires a syntax like ‘CF.{Training}’ and showing uses
the ‘CF-Training’ form.
HTH
I must still be doing something wrong. Here is what I have for custom fields:
Can you elaborate on this. I can’t seem to figure out how to display my
custom fields via the cli. I am using rt 0.02 which came with rt-3.6.1
Carl
Assuming you have a custom field called ‘Training’ associated with
ticket number 45367, you could do the following:
user@host:> rt show -f CF-Training,Subject,Priority ticket/45367
id: ticket/45367
CF-Training: Yes
Subject: Whatever the subject is currently set to
Priority: 10
I’m not certain why that isn’t working. The equivalent query on my
system works. Have you modified the code base at all?
What if I have a custom filed that has a white space in it?
I’m not certain what you would have to do, but one thing I’m pretty sure
of is that you’ll need to modify the CustomField modules to accept white
space in the name (and then escape/quote the white space in your shell).
Can you elaborate on this. I can’t seem to figure out how to display my
custom fields via the cli. I am using rt 0.02 which came with rt-3.6.1
Carl
Assuming you have a custom field called ‘Training’ associated with
ticket number 45367, you could do the following:
user@host:> rt show -f CF-Training,Subject,Priority ticket/45367
id: ticket/45367
CF-Training: Yes
Subject: Whatever the subject is currently set to
Priority: 10
I’m not certain why that isn’t working. The equivalent query on my
system works. Have you modified the code base at all?
No I haven’t touched anything, I wouldn’t even know how if I wanted to.