Gatsby Book Launch

“The missing guide to the modern web” launches on Thursday, Sep 29th: Modular: The Web’s New Architecture

ContactSign Up for Free
Community Plugin
View plugin on GitHub

gatsby-source-jazzhr

Source plugin for pulling data into Gatsby from JazzHR. Heavily inspired by gatsby-source-lever.

Install

Using NPM

npm install gatsby-source-jazzhr

Using Yarn

yarn add gatsby-source-jazzhr

How to use

// In your gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: "gatsby-source-jazzhr",
      options: {
        apiKey: "YOUR_JAZZHR_API_KEY",
        subDomain: "YOUR_JAZZHR_SUBDOMAIN", // https://company-name.applytojob.com
        verboseOutput: false,
      },
    },
  ],
}

Set verboseOutput to true to display a verbose output on npm run develop or npm run build. It can help you debug specific API Endpoints problems.

GraphQL Query to get all open jobs

query JazzHRJobsQuery {
  allJazzHr(filter: { status: { eq: "Open" } }) {
    totalCount
    nodes {
      id
      status
      title
      department
      description
      team_id
      city
      recruiter
      custom_apply_url
      apply_url
      board_code
      country_id
      hiring_lead
      jazzhr_id
      maximum_salary
      minimum_salary
      notes
      original_open_date
      questionnaire
      send_to_job_boards
      state
      type
      zip
    }
  }
}
© 2022 Gatsby, Inc.