Webhook technician details
I want to send a notification to Rocket.Chat user when a ticket is updated/responded.
I created a webhook with the content below.
- {
- "alias": "Helpdesk",
- "channel": "@username",
- "avatar": "http://192.168.2.16/img/logo_sdpplus.png",
- "text": "Nova resposta chamado ${{request.id}}",
- "attachments": [
- {
- "title": "${{request.subject}}",
- "title_link": "http://sdp-url/WorkOrder.do?woMode=viewWO&woID=${{request.id}}",
- "color": "#3244a8",
- "text": "${{request.technician}}",
- "fields": [
- {
- "short": true,
- "title": "Status",
- "value": "${{request.status.name}}"
- },
- {
- "short": true,
- "title": "Dt. Vencimento",
- "value": "${{request.due_by_time.display_value}}"
- }
- ]
- }
- ]
- }
Now I need to pass the request technician to @username so on the technician details page I filled the employee_id as "@kelsen.faria" but how can I get that information?
New to ADSelfService Plus?