---
updatedAt: 2025-09-25T21:12:50.000Z
agentTools:
  projectIndex: https://developers.toriihq.com/llms.txt
---

# 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](https://developer.atlassian.com/cloud/jira/service-desk/automation-webhooks/).

### Custom Action Configuration

**Method** :  POST

**URL**  :   [https://automation.atlassian.com/pro/hooks/\<your\_unique\_hook\_identifier>](https://automation.atlassian.com/pro/hooks/)

**Query Parameters**

| Parameter | Variable Mapping |
| :-------- | :--------------- |

**Headers**

| Header       | Value            |
| :----------- | :--------------- |
| Content-Type | application/json |

**Body**

```json
{
"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.