You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chaya Malik edited this page Dec 20, 2021
·
2 revisions
Task Annotations File Ticket Webhook
Overview
The file ticket button in the Task Annotations tab can be configured to call a custom webhook when clicked.
Settings Configuration
To configure the file ticket webhook, add an endpoint and secret to the build baron plug section of your project settings page.
Data Format
Once a webhook is configured, the following data will be sent to the webhook when the button is clicked:
{
"task_id": <string>,"execution": <int>
}
How to Update Created Tickets
After a ticket is filed using the webhook, evergreen needs to be notified of the newly filed ticket's key and url so that the ticket can be stored and displayed to the user under Tickets Created From This Task. To do that, please use the created_tickets endpoint.