BambooHR - iHub Data Center
This guide shows how you can get changes to personell in BambooHR as issues in Jira.
Step 1. Setup the BambooHR to send data to iHub
Webhooks are not turned on for all clients, but can be enabled at no charge by contacting support.
Create a webhook in BambooHR select what field that will be the trigger
Note. that PostVar can be changed to not contain spaceÂ
Select JSON as format
add the URL to the incoming webhook in iHub.
Step 2. Configure iHub to create issues in Jira with BambooHR data
Click on Integrations
Click Create Integration button
Enter a name: Loop Employees
Select Action Type: Iteration
Click Create.
Past in $.employees in the JSON Path field
This will tell iHub to run this action for each item in the employees list that comes from BambooHRClick Create again to create another action
Enter a name: create issue from bamboo
Select Action Type: Action
Click Create to create it.
Select Method POST
Add URL {{baseUrl}}/rest/api/2/issue
Select Authentication: Jira bot user ( created as basic auth in credentials section)
In the body paste
{ "fields": { "project": { "key": "BAMBOO" }, "summary": "Onboarding issue for: {{firstName}} {{lastName}}", "issuetype": { "id": "10100" }, "customfield_10161": "{{firstName}}", "customfield_10162": "{{lastName}}", "customfield_10163": "{{jobTitle}}", "customfield_10153": "{{id}}", "labels": [ "bamboohr" ] } }
Â
Change the project key and the custom field id numbers to fit your instance
DONE!
Â