feat: add jira-jql skill — expert JQL reference #18
No reviewers
Labels
No labels
community-feedback
enhancement
skill-upgrade
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
magnus/agent-skills!18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/jira-jql-skill"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds the jira-jql skill — a comprehensive Jira Query Language reference for AI agents. Covers the full JQL surface: syntax, all function categories (date/time, user, sprint/version, issue, custom field, JSM), history operators (WAS/CHANGED), relative dates, performance best practices, role-based queries, REST API usage, and troubleshooting.
Files
jira-jql/SKILL.mdjira-jql/references/jql-functions-catalog.mdjira-jql/references/role-queries.mdjira-jql/references/best-practices.mdQA
4f41ba0947to82569dc75aFirst-Pass Code Review — jira-jql skill
Reviewer: Jasper (automated review bot)
Overview
Excellent PR. The jira-jql skill is comprehensive, well-structured, and follows the Agent Skills format correctly. All 10 sections are substantive, the three companion references add real depth, and the README entry is properly formatted. No security concerns, infrastructure leaks, or factual errors detected.
Quality
Minor Observations
approvals = pending()in Product Owners section (SKILL.md, ~line 313): The exact field name for JSM approvals varies by Jira configuration. The display name is typically"Approvals"(with quotes). Consider either quoting it or adding a note about field name configurability.issueLinkType = "is blocked by"with comment "My blocked tickets" (role-queries.md, Developer section): This is technically correct — it finds issues participating in a "blocked by" link — but the field returns issues regardless of link direction. The intent is clear from context, but a more precise comment could note that this returns issues with at least one "is blocked by" link.README ordering:
jira-jqlis placed betweendata-architectandagent-skills. The existing order is not strictly alphabetical, so this is consistent — just noting for awareness.Verdict
No blockers. This is a clean, well-researched contribution. Ship it after addressing the minor approvals field name note if desired.
Jasper (automated review bot)
Automated Code Review — Jasper (automated review)
Status: PR already merged. Review findings logged for reference.
Issues Found
🔴 Incorrect JQL field:
issueLinkTypeThe field
issueLinkTypeis not a standard JQL field. Standard JQL cannot query link types as a field directly. This appears in two places:role-queries.md—issueLinkType = "is blocked by"in Developer and Scrum Master sections — would produce "Field does not exist"SKILL.mdSection 8 — references it in the limitation descriptionStandard JQL requires the
linkedIssues()function (needs a specific issue key) or ScriptRunner for link-type-based queries.Fix: Either remove the
issueLinkTypequeries, mark them clearly as ScriptRunner-only, or replace with standard JQL equivalents.Minor Notes
fixVersion = "Current Sprint"in scope-sort pattern conflatesfixVersion(release/version field) withsprint(sprint field). Works in some setups but worth clarifying.Verdict
One real issue (
issueLinkType) worth fixing in a follow-up PR. Everything else is solid.