DDTSBACKEND(1)

     NAME
          ddtsbackend - postprocess a committed defect

     SYNOPSIS
          ddtsbackend

     DESCRIPTION
          The ddtsbackend(1) utility is a shell script that executed
          for every ClearDDTS database transaction that occurs.  In
          essence it is a postprocessing "trigger" that may be
          customized.  The ddtsbackend(1) utility reads bugids from
          the ~ddts/spool/dbackend directory and may call bugval(1) to
          extract information from the bug or may call batchbug(1) to
          update the bug or other related (linked) defects.

     WARNINGS
          Care should be taken when updating a defect with
          batchbug(1).  If you postprocess a defect EVERYTIME it is
          updated you will go into an infinite loop.  That is,
          updating a defect with batchbug(1) will cause the
          ddtsbackend(1) script to again be executed on behalf of the
          same bug that was just modified via batchbug(1).  If you
          again postprocess the bug, it will again cause
          ddtsbackend(1) to be run on behalf of that defect and so
          forth.

     SEE ALSO
          batchbug(1), bugval(1)