[rt-users] strange things with multi-value custom field in CLI
Kevin Falcone
falcone at bestpractical.com
Mon Feb 2 16:08:26 EST 2015
On Mon, Feb 02, 2015 at 06:47:50AM +0000, Eierschmalz, Bernhard wrote:
>
> I have one custom field with type “enter multiple values”
>
> I tried to create a ticket in CLI and directly enter multiple values into my CF
> with this command:
>
> rt create -t ticket set subject=”test” queue=”test” CF-42=
> ”value1,value2”
>
> after this, my CF had one value “value1,value2”
>
>
> strange thing is, when I try to edit the CF with this command
>
> rt edit ticket/<ticketnumber> set CF-42=”value1,value2” status=
> ”new”
>
>
>
> (so exactly the same syntax at CF-42=”value1,value2”)
>
> I have 2 values, “value1” and “value2”
I believe this came up recently on this list, along with a patch for
consideration. However, it turns out there is a better piece of code
that addresses this.
https://github.com/bestpractical/rt/compare/4.2/multi-value-cf-in-rest
It would be interesting to hear if this resolves your issue.
-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 221 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20150202/a4541027/attachment.sig>
More information about the rt-users
mailing list