User Tools

Site Tools


software:requesttracker:addcc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
software:requesttracker:addcc [2024/08/29 20:12] – created rodolicosoftware:requesttracker:addcc [2024/08/29 23:27] (current) rodolico
Line 1: Line 1:
 ====== Adding cc'd users as ticket CC on create ====== ====== Adding cc'd users as ticket CC on create ======
  
-One of our clients wants everyone cc'd on an e-mail which creates a ticket to also become a cc on the ticket. I found the answer in [[https://rt-wiki.bestpractical.com/wiki/EmailInterface]] and [[https://forum.bestpractical.com/t/adding-new-users-and-cc-users-to-tickets/19980/3]], and it is a simple (kinda') change to the configuration file, located in installdir/etc/RT_SiteConfig.pm. Add the following two lines:+One of our clients wants everyone cc'd on an e-mail which creates a ticket to also become a cc on the ticket. I found the answer in [[https://rt-wiki.bestpractical.com/wiki/EmailInterface]] and [[https://forum.bestpractical.com/t/adding-new-users-and-cc-users-to-tickets/19980/3]], and it is a simple (kinda') change to the configuration file, located in installdir/etc/RT_SiteConfig.pm. In my case, it is /opt/rt5/etc/RT_SiteConfig.pm. Add the following two lines:
  
 <code perl> <code perl>
Line 11: Line 11:
 <code bash>/opt/rt5/etc/upgrade/generate-rtaddressregexp</code> <code bash>/opt/rt5/etc/upgrade/generate-rtaddressregexp</code>
 not only did it easier and faster, but fixed some things I had missed. Perfection is variable. not only did it easier and faster, but fixed some things I had missed. Perfection is variable.
 +
 +So, easy way:
 +<code bash>
 +echo 'Set($ParseNewMessageForTicketCcs, 1);' > /tmp/rtchange
 +echo 'Set($RTAddressRegexp,'`/opt/rt5/etc/upgrade/generate-rtaddressregexp`');' >> /tmp/rtchange
 +cat /tmp/rtchange
 +</code>
 +review, then add to bottom of your RT_SiteConfig.pm file. Note, we do it this way since, //generate-rtaddressregexp// can produce a warning if the correct parameter already set.
software/requesttracker/addcc.1724980325.txt.gz · Last modified: 2024/08/29 20:12 by rodolico