#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 12 months ago by ethan.jucovy@…

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

Try this:

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

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

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.