This recipe will trigger whenever an issue’s status changes on Jira and will update the status of the corresponding lead on Hunters to match. This will help you keep your Jira service desk project updated and synced with the Hunters SOC platform.
To sync Jira status with Hunters:
Step 1: Open the required template
From the Hunters menu, navigate to Workflows > Workflow Manager.
Under Projects, navigate to Automated Workflows > Jira.
Locate the Sync Jira status to Hunters recipe, click on the … menu and then select Clone. This will ensure you don’t override the template so you can use it again in the future.
Rename the recipe and click Edit.
Step 2: Connect your Jira account
💡TipIf you’ve already connected Jira to a recipe before, you can simply select the connection from the list and skip to the next step.
From the recipe flowchart, click the Trigger step to edit it.
On the right-side panel, name your connection, select an Authentication type and Base URL, and complete the required authentication details.
Click Connect.
In the JQL query string field, replace the project value with the name of the relevant Jira project.
Step 3: Connect your Hunters account
💡TipIf you’ve already connected Hunters to a recipe before, you can simply select the connection from the list and skip to the next step.
Follow these guidelines to create a Hunters API token with a Customer role (or higher).
Copy the Client ID and Client secret provided in the token creation process.
Navigate back to the recipe and click step 2 to connect your Hunters account.
On the right side panel, name your connection and paste the Client ID and Client secret in the appropriate fields.
Select your Region based on the region set up for you upon Hunters tenant creation.
Click Connect.
Make sure the following fields are defined as follows:
Lead UUIDs -
=[_dp('{"pill_type":"output","provider":"foreach","line":"c1041782","path":["fields","customfield_10448"]}')]
.Status -
={"Open"=>"Open", "Pending"=>"Open", "Work in progress"=>"WIP", "Done"=>"Done"}[_dp('{"pill_type":"output","provider":"foreach","line":"c1041782","path":["fields","status","name"]}')]
This will translate to appear as in the below image:
Step 4: Save and activate the recipe
- Once done, click Save and then Exit.
- Now click Start recipe to activate the workflow.