Transform map script to update additional comments to a ticket
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â05-07-2023 10:03 PM
Hi In a excel I have ticket number and additional comments fields when I'm updating this data to the ticket the additional comments showing updated by my name instead Iam trying to set this as admin or system which is not working using below script
current.comments.setJournalEntry('u_additional_comments', 'admin');
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â05-08-2023 12:39 AM
@Vamshi_ch123 do you have a user with user name 'admin' on your instance? Also the first parameter in the setJorunalEntry function represents the comment that you would like to add on your record. In this case u_additional_comments would be added on the record.