BambooHR - IHub Cloud

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. Cloud this is the webhook trigger URL seen on the trigger page

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

  4. Click on Trigger

    1. Select Webhook trigger and enable the flow (top right corner)
      this will then generate a URL like this URL: https://ihubdev.rixter.net/dev/incoming/webhook?token=yourtoken

  5. Click Add new action and select Webaction

  6. Select Method POST

  7. Add URL {{baseUrl}}/rest/api/3/issue

  8. Select Authorization: Atlassian Authorization token

  9. Expand Options

  10. Click on Iterator tab

  11. Past in $.employees
    This will tell iHub to run this action for each item in the employees list that comes from BambooHR

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

     

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

  14. DONE!