Build and execute JQL using jirac.
Steps:
- Check that
jiracis available by runningjirac --version. If it is missing, tell the user to install it withcargo install jira-commands. - If the user already has a JQL expression, run it directly with
jirac issue list --jql '<expression>'. - If the user wants help composing a query, run
jirac issue jql. - Explain the resulting issues or the generated query clearly.
Examples:
- "run JQL: project = PROJ AND status = 'In Progress'" →
jirac issue list --jql 'project = PROJ AND status = "In Progress"' - "help me build a JQL query" →
jirac issue jql - "find all bugs assigned to me in PROJ" →
jirac issue list --jql 'project = PROJ AND issuetype = Bug AND assignee = currentUser()'