@@ -663,6 +663,47 @@ A Class is comprised of one or more properties of the following types:
663663* A Multilink property refers to possibly many items in a specified
664664 class. The value is a list of integers.
665665
666+ Properties can have additional attributes to change the default
667+ behaviour:
668+
669+ * String properties can have an ``indexme`` attribute that defines if the
670+ property should be part of the index. The default is 'yes' but this
671+ can be set to 'no' to prevent a property from being indexed.
672+ * Link and Multilink properties can have several attributes:
673+
674+ - ``do_journal``: By default, every change of a link property is
675+ recorded in the item being linked to (or being unlinked). A typical
676+ use-case for setting ``do_journal='no'`` would be to turn off
677+ journalling of nosy list, message author and message recipient link
678+ and unlink events to prevent the journal from clogged with these
679+ events.
680+ - ``try_id_parsing`` is turned on by default. If entering a number
681+ into a Link or Multilink field, roundup interprets this number as an
682+ ID of the item to link to. Sometimes items can have numeric names
683+ (like, e.g., product codes). For these roundup needs to match the
684+ numeric name and should never match an ID. In this case you can set
685+ ``try_id_parsing='no'``.
686+ - The ``msg_header_property`` is used in the mail gateway when sending
687+ out messages: By default roundup creates headers of the form::
688+
689+ X-Roundup-issue-prop: value
690+
691+ for all properties prop of issue that have a ``name`` property. This
692+ definition allows to override the name of the property used for
693+ generating headers. A common use-case is adding a mail-header with
694+ the ``assigned_to`` property to allow user mail-filtering of
695+ issue-emails for which they're responsible. In that case setting::
696+
697+ msg_header_property="username"
698+
699+ for the assigned_to property will generated message headers of the
700+ form::
701+
702+ X-Roundup-issue-assigned_to: joe_user
703+
704+ for issues where joe_user is the username of the person responsible
705+ for this issue.
706+
666707All Classes automatically have a number of properties by default:
667708
668709*creator*
0 commit comments