List Jira issues using jirac.
Steps:
- Check that
jiracis available by runningjirac --version. If it is missing, tell the user to install it withcargo install jira-commands. - Determine the query from the request:
- project key
- explicit JQL
- otherwise use the default assigned-to-current-user behavior
- Run
jirac issue listwith the right flags. - Present the results clearly.
Notes:
jirac issue listwithout flags defaults toassignee = currentUser().jirac issue list -p PROJlimits to one project.jirac issue list --jql '<expression>'gives full control.
Examples:
- "list my issues" →
jirac issue list - "list issues in PROJ" →
jirac issue list -p PROJ - "list open bugs in PROJ" →
jirac issue list --jql 'project = PROJ AND issuetype = Bug AND status != Done'