Skip to content

Commit 2ca8ce1

Browse files
committed
sadly this closes z4r#31 [ci skip]
1 parent dab7ad5 commit 2ca8ce1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,22 @@ Usually your requests will be something like this.
303303
logger.error(e.response.status_int)
304304
logger.error(e.response.status)
305305
logger.error(e.response.parsed)
306+
307+
Custom Fields
308+
-------------
309+
310+
To create or update a tkt with Custom Fields you must use this notation::
311+
312+
content = {
313+
'content': {
314+
'Queue': 1,
315+
'Subject' : 'New Ticket',
316+
'Text' : 'My useless\ntext on\nthree lines.',
317+
'CR.{Need For Approval}': 'Yes'
318+
}
319+
}
320+
321+
.. warning:: With RT/3.8 you can't use ``?`` inside the names of your custom fields, with RT/3.6 ``/()`` too.
306322

307323
.. _license:
308324

0 commit comments

Comments
 (0)