Atlassian Automation - Create JIRA Offboarding Ticket

This guide documents how to build a custom action for Atlassian automation to automatically receive employee/job-related details within Torii and create a corresponding Jira ticket for employee lifecycle management.

This action can be used to leverage Atlassian automation capabilities to automate ticket creation and tracking of employee lifecycle events during onboarding, offboarding, and/or app-access requests with other apps and core IT systems.

Find more documentation on Atlassian Automation webhooks here.

Custom Action Configuration

Method : POST

URL : https://automation.atlassian.com/pro/hooks/<your_unique_hook_identifier>

Query Parameters

ParameterVariable Mapping

Headers

HeaderValue
Content-Typeapplication/json

Body

{
"firstName": "[Trigger.User.First-name]",
"lastName": "[Trigger.User.Last-name]",
"userEmail": "[Trigger.User.Email]",
"PrivateEmail": "[Trigger.User.Details.BambooHR-Private-Email]",
"JobTitle": "[Trigger.User.Details.BambooHR-Job-Title]",
"Location": "[Trigger.User.Details.BambooHR-Location]",
"Position": "[Trigger.User.Details.BambooHR-Job-Title]",
"TerminationDate": "[Trigger.User.Details.BambooHR-Termination-Date]",
"City": "[Trigger.User.Details.BambooHR-City]",
"Country": "[Trigger.User.Details.BambooHR-Country]",
"Street1": "[Trigger.User.Details.BambooHR-Street-1]",
"Street2": "[Trigger.User.Details.BambooHR-Street-2]",
"ZipCode": "[Trigger.User.Details.BambooHR-Zip-Code]",
"Department": "[Trigger.User.Details.BambooHR-Department]",
"Division": "[Trigger.User.Details.BambooHR-Division]",
"EmployeeID": "[Trigger.User.Details.BambooHR-Employee-ID]",
"MobilePhone": "[Trigger.User.Details.BambooHR-Employee-Mobile-Phone-Number]",
"EmploymentStatus": "[Trigger.User.Details.BambooHR-Employment-Status]",
"HireDate": "[Trigger.User.Details.BambooHR-Hire-Date]",
"ManagementRole": "[Trigger.User.Details.BambooHR-Management-Role]",
"ManagerFirstName": "[Trigger.User.Details.BambooHR-User-Manager.First-name]",
"ManagerLastName": "[Trigger.User.Details.BambooHR-User-Manager.Last-name]",
"ManagerEmail": "[Trigger.User.Details.BambooHR-User-Manager.Email]"
}

📘

Tips

This example is based on having Bamboo HR as the employee system of record. The JSON payload in the body should be customized based on the attributes in your HR system or Identity system of choice.

👍

Congratulations! At this point you should have successfully create a custom Atlassian action for employee lifecycle management.