Route job errors to Jira projects
Recipe ToolsProject ManagementMarketing
What it does
When a job fails in specified automations, this automation posts a bug to the appropriate Jira project space. It maps workspace folders to Jira projects so errors land in the right place every time.
Who it's for
Engineering teams who run automations and need job failures logged to Jira without manual routing.
How teams use this
Route errors to the right Jira project
When a job fails, the automation looks up the workspace folder in the mapping table and posts the bug to the correct Jira project space. Teams find errors where they expect them.
Escalate critical failures to a dedicated project
Redirect high-priority job failures to a separate Jira project for faster response. Only change the folder-to-project mapping in the lookup table to retarget where errors go.
Add custom fields to error tickets
Include additional Jira fields like environment, automation owner, or retry count on each issue. Set up new field mappings in the automation to capture and populate those values.
Filter errors by severity before posting
Only create Jira issues for job failures marked as critical or high priority. Add a condition to check the error level and skip posting for low-severity failures.
How it works
- Receive a job failure notification. Monitor specified automations for job-level repeats that fail or are not applicable, and trigger this automation in real time when one occurs.
- Map folder to Jira project. Search the Workspace Error Manager lookup table for the workspace folder. If found, use the mapped Jira project key to route the error to the correct space.
- Build the error summary. Create variables for the Jira issue including error summary, issue type, component name, and priority from environment properties. Trim the summary to 255 characters maximum.
- Post the bug to Jira. Create a Jira issue in the mapped project with the error summary, folder path details, and component. Generate Jira components as needed if they do not already exist.