Modify

Opened 3 years ago

Closed 3 years ago

#9982 closed defect (fixed)

Dynamic fields plugin for copying the owner field details is not working

Reported by: anonymous Owned by: robguttman
Priority: normal Component: DynamicFieldsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Please give us the sample configuration to be done

Attachments (0)

Change History (1)

comment:1 in reply to: ↑ description Changed 3 years ago by robguttman

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

Replying to anonymous:

Please give us the sample configuration to be done

Here's an example of copying the owner field into another captain field:

[ticket-custom]
captain.copy_from = owner

However, by default the captain field above will not get overwritten if it already contains a value. To always overwrite the captain field with the owner field's value, change the rule to this:

[ticket-custom]
captain.copy_from = owner (overwrite)

The Copy Rule also works for the owner in the opposite direction - e.g.,

[ticket-custom]
owner.copy_from = captain (overwrite)

If this isn't working for you, please reopen and share the relevant parts of your trac.ini config file.

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.