Modify

Opened 11 years ago

Closed 9 years ago

#11509 closed enhancement (worksforme)

Set default CC based on custom field value

Reported by: Adam Dorsey - NOAA Affiliate Owned by: Rob Guttman
Priority: normal Component: DynamicFieldsPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

Hi, We have a custom field that is a dropdown box with a list of several site names. Is it possible with this plugin to prepopulate the CC field with a value based on the value of that dropdown box?

As in, if the "Site" field says "Site 1", the "CC" field would be "site1-admin@…", "Site 2" would make the "CC" field "someotheremail@…", etc.

If this is possible, how would one accomplish this?

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by Ryan J Ollos

Type: defectenhancement

comment:2 Changed 9 years ago by Ryan J Ollos

Resolution: worksforme
Status: newclosed

The following example works for me:

cc.set_to_site1-admin@website.com_when_component = component1 (overwrite)
cc.set_to_site2-admin@website.com_when_component = component2 (overwrite)
cc.set_to_site3-admin@website.com_when_component = component3 (overwrite)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Rob Guttman.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.