Agent skill
n8n-integration-with-github-and-jira
Sub-skill of n8n: Integration with GitHub and Jira.
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/operations/automation/n8n/integration-with-github-and-jira
SKILL.md
Integration with GitHub and Jira
Integration with GitHub and Jira
{
"name": "GitHub to Jira Sync",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "github-webhook",
"options": {}
},
"id": "github-webhook",
"name": "GitHub Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1.1,
"position": [240, 300]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{ $json.action }}",
"operation": "equals",
"value2": "opened"
}
]
}
},
"id": "filter-opened",
"name": "Is New Issue?",
"type": "n8n-nodes-base.filter",
"typeVersion": 2,
"position": [460, 300]
},
{
"parameters": {
"jsCode": "// Map GitHub issue to Jira format\nconst issue = $input.item.json.issue;\n\n// Map labels to Jira priority\nconst labels = issue.labels.map(l => l.name);\nlet priority = 'Medium';\nif (labels.includes('critical') || labels.includes('urgent')) {\n priority = 'Highest';\n} else if (labels.includes('high')) {\n priority = 'High';\n} else if (labels.includes('low')) {\n priority = 'Low';\n}\n\n// Map to Jira issue type\nlet issueType = 'Task';\nif (labels.includes('bug')) {\n issueType = 'Bug';\n} else if (labels.includes('feature')) {\n issueType = 'Story';\n}\n\nreturn {\n summary: `[GitHub] ${issue.title}`,\n description: `${issue.body}\\n\\n---\\nGitHub Issue: ${issue.html_url}\\nCreated by: ${issue.user.login}`,\n priority: priority,\n issueType: issueType,\n labels: labels.filter(l => !['bug', 'feature', 'critical', 'urgent', 'high', 'low'].includes(l)),\n github_issue_number: issue.number,\n github_repo: $input.item.json.repository.full_name\n};"
},
"id": "map-to-jira",
"name": "Map to Jira Format",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [680, 300]
},
{
"parameters": {
"resource": "issue",
"operation": "create",
"project": "={{ $env.JIRA_PROJECT_KEY }}",
"issueType": "={{ $json.issueType }}",
"summary": "={{ $json.summary }}",
"additionalFields": {
"description": "={{ $json.description }}",
"priority": "={{ $json.priority }}",
"labels": "={{ $json.labels }}"
}
},
"id": "create-jira",
"name": "Create Jira Issue",
"type": "n8n-nodes-base.jira",
"typeVersion": 1,
"position": [900, 300],
"credentials": {
"jiraSoftwareCloudApi": {
"id": "7",
"name": "Jira"
}
}
},
{
"parameters": {
"owner": "={{ $('Map to Jira Format').item.json.github_repo.split('/')[0] }}",
"repository": "={{ $('Map to Jira Format').item.json.github_repo.split('/')[1] }}",
"issueNumber": "={{ $('Map to Jira Format').item.json.github_issue_number }}",
"body": "=Jira issue created: {{ $json.key }}\n\nLink: {{ $env.JIRA_BASE_URL }}/browse/{{ $json.key }}"
},
"id": "comment-github",
"name": "Comment on GitHub",
"type": "n8n-nodes-base.github",
"typeVersion": 1,
"position": [1120, 300],
"credentials": {
"githubApi": {
"id": "8",
"name": "GitHub"
}
}
}
],
"connections": {
"GitHub Webhook": {
"main": [
[{ "node": "Is New Issue?", "type": "main", "index": 0 }]
]
},
"Is New Issue?": {
"main": [
[{ "node": "Map to Jira Format", "type": "main", "index": 0 }]
]
},
"Map to Jira Format": {
"main": [
[{ "node": "Create Jira Issue", "type": "main", "index": 0 }]
]
},
"Create Jira Issue": {
"main": [
[{ "node": "Comment on GitHub", "type": "main", "index": 0 }]
]
}
}
}
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?