Modify

Opened 10 years ago

Closed 8 years ago

Last modified 8 years ago

#11873 closed defect (fixed)

More documentation about the lists of available fields would be helpful

Reported by: skyebend@… Owned by: ejucovy
Priority: normal Component: WorkflowNotificationPlugin
Severity: normal Keywords: documentation
Cc: Trac Release:

Description (last modified by Ryan J Ollos)

I was unable to find a documentation page that lists all of the available values that can be included in ticket notifications. Is there a direct mapping of names in the Trac UI to fields? I extrapolated from the existing examples that ${ticket.description} seems to work, but what other fields can be included?

Also, is it possible to use sets in some way? For example, I'd like to be able to send a notification email only if the ticket.component is one of the components (A,B,C)

Attachments (0)

Change History (4)

comment:1 Changed 10 years ago by anonymous

I was able to solve the second part of my question using multiple condition lines

new_ticket.condition = ${ticket.component == 'A'}
new_ticket.condition = ${ticket.component == 'B'}
new_ticket.condition = ${ticket.component == 'C'}

It appears that the behavior is evaluate each of them and send the message if any yields true.

Last edited 10 years ago by Ryan J Ollos (previous) (diff)

comment:2 Changed 8 years ago by Ryan J Ollos

Summary: more documentation about the lists of availible fields would be helpfulMore documentation about the lists of available fields would be helpful

comment:3 Changed 8 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

comment:4 Changed 8 years ago by Ryan J Ollos

Description: modified (diff)

new_ticket.condition = ${ticket.component in ('A', 'B', 'C')} would probably also work.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain ejucovy.
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.