Modify

Opened 3 years ago

Closed 16 months ago

#11509 closed enhancement (worksforme)

Set default CC based on custom field value

Reported by: asdorsey Owned by: robguttman
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 3 years ago by rjollos

  • Type changed from defect to enhancement

comment:2 Changed 16 months ago by rjollos

  • Resolution set to worksforme
  • Status changed from new to closed

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)

Add Comment

Modify Ticket

Action
as closed The owner will remain robguttman.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.