Opened 9 years ago

Closed 9 years ago

#11355 closed enhancement (worksforme)

First letter of owner

Reported by: laurence.wozniak@… Owned by: ejucovy
Priority: normal Component: WorkflowNotificationPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0



I would like to be able to add in the subject of any mail sent the first letter of the ticket's owner if set.

I have tried using substring(${ticket.owner}, 0 or 1, 1) but this does not work (it is not resolve and all the characters are added to the subject).

Any way to do that ?

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by ethan.jucovy@…

Resolution: worksforme
Status: newclosed

Try this:

${ticket.owner[0] if ticket.owner else ''}

Note that the ${ } has to surround the entire expression, not just the ticket.owner part.

Modify Ticket

Change Properties
Set your email in Preferences
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.