Mailing List Archive

Add submitting txn CFs with comments/correspondence to REST API
[Resent from an account which is subscribed to rt-devel@...]

Hi,

I asked on rt-users last week about being able to set transaction
custom fields when submitting comments and correspondence via the REST
API. The response was that I wasn't crazy and that this wasn't
currently possible.

The attached patches provide this functionality and (hopefully)
appropriate test cases.

These are against RT 4.2 - I haven't tried applying them to 4.4.

You can also view them here:
https://github.com/catalyst/rt/tree/4.2/add-txn-rest-customfield

I'm happy to make a pull request if you'd like, but I'm sending this
email as requested in docs/hacking.pod .

Cheers,
Andrew

--
Andrew Ruthven, Wellington, New Zealand
andrew@etc.gen.nz | linux.conf.au 2016
New Zealand's only Cloud: | LCA By the Bay, Geelong, AU
https://catalyst.net.nz/cloud | http://lca2016.linux.org.au
Re: Add submitting txn CFs with comments/correspondence to REST API [ In reply to ]
Hey,

My branch on github can now also display CustomFields on transactions
via the REST interface, as well as allows setting CFs which are
Multiple.

Cheers,
Andrew

On Tue, 2016-01-26 at 17:16 +1300, Andrew Ruthven wrote:
> [Resent from an account which is subscribed to rt-devel@...]
>
> Hi,
>
> I asked on rt-users last week about being able to set transaction
> custom fields when submitting comments and correspondence via the
> REST
> API. The response was that I wasn't crazy and that this wasn't
> currently possible.
>
> The attached patches provide this functionality and (hopefully)
> appropriate test cases.
>
> These are against RT 4.2 - I haven't tried applying them to 4.4.
>
> You can also view them here:
> https://github.com/catalyst/rt/tree/4.2/add-txn-rest-customfield
>
> I'm happy to make a pull request if you'd like, but I'm sending this
> email as requested in docs/hacking.pod .
>
> Cheers,
> Andrew
>
--
Andrew Ruthven, Wellington, New Zealand
andrew@etc.gen.nz | linux.conf.au 2016
New Zealand's only Cloud: | LCA By the Bay, Geelong, AU
https://catalyst.net.nz/cloud | http://lca2016.linux.org.au





---------
RT 4.4 and RTIR Training Sessions (http://bestpractical.com/services/training.html)
* Hamburg Germany - March 14 & 15, 2016
* Washington DC - May 23 & 24, 2016
Re: Add submitting txn CFs with comments/correspondence to REST API [ In reply to ]
Hey,

Just wondering if there's any interest in these patches from Best
Practical? We're using them now happily on our production system.

https://github.com/catalyst/rt/tree/4.2/add-txn-rest-customfield

Cheers,
Andrew

On Mon, 2016-02-15 at 10:26 +1300, Andrew Ruthven wrote:
> Hey,
>
> My branch on github can now also display CustomFields on transactions
> via the REST interface, as well as allows setting CFs which are
> Multiple.
>
> Cheers,
> Andrew
>
> On Tue, 2016-01-26 at 17:16 +1300, Andrew Ruthven wrote:
> >
> > [Resent from an account which is subscribed to rt-devel@...]
> >
> > Hi,
> >
> > I asked on rt-users last week about being able to set transaction
> > custom fields when submitting comments and correspondence via the
> > REST
> > API. The response was that I wasn't crazy and that this wasn't
> > currently possible.
> >
> > The attached patches provide this functionality and (hopefully)
> > appropriate test cases.
> >
> > These are against RT 4.2 - I haven't tried applying them to 4.4.
> >
> > You can also view them here:
> > https://github.com/catalyst/rt/tree/4.2/add-txn-rest-customfield
> >
> > I'm happy to make a pull request if you'd like, but I'm sending
> > this
> > email as requested in docs/hacking.pod .
> >
> > Cheers,
> > Andrew
> >
--
Andrew Ruthven, Wellington, New Zealand
andrew@etc.gen.nz | linux.conf.au 2016
New Zealand's only Cloud: | LCA By the Bay, Geelong, AU
https://catalyst.net.nz/cloud | http://lca2016.linux.org.au





---------
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016