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.

https://documentation.bamboohr.com/docs/webhooks

  1. Create a webhook in BambooHR select what field that will be the trigger

    Note. that PostVar can be changed to not contain space

     

  2. Select JSON as format

  3. add the URL to the incoming webhook in iHub.

Step 2. Configure iHub to create issues in Jira with BambooHR data

  1. Click on Integrations

  2. Click Create Integration button

  3. Enter a name: Loop Employees

  4. Select Action Type: Iteration

  5. Click Create.

  6. 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 BambooHR

  7. Click Create again to create another action

  8. Enter a name: create issue from bamboo

  9. Select Action Type: Action

  10. Click Create to create it.

  11. Select Method POST

  12. Add URL {{baseUrl}}/rest/api/2/issue

  13. Select Authentication: Jira bot user ( created as basic auth in credentials section)

  14. 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" ] } }

     

  15. Change the project key and the custom field id numbers to fit your instance

  16. DONE!