get-ticket-info

Extract the Jira ticket number from the current branch name and retrieve its description via acli.

Updated Aug 12, 2024
One-click install
npx skills add https://github.com/andreasphil/ris-utils --skill get-ticket-info
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-ticket-info
Source: https://github.com/andreasphil/ris-utils/tree/main/ris-search/claude/skills/get-ticket-info
Command: npx skills add https://github.com/andreasphil/ris-utils --skill get-ticket-info

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Locates the Jira ticket number from the current branch name and, if found, retrieves the ticket description to inform planning and provide context for work on the branch.

Core Features & Use Cases

  • Identify the Jira ticket on the current branch.
  • Retrieve the ticket description using the Atlassian CLI command acli jira workitem view <ticket-number> to provide context.
  • Use the retrieved description to guide task planning and collaboration.

Quick Start

Run get-ticket-info on your current branch to fetch its Jira ticket information using the Atlassian CLI.

Frequently Asked Questions about get-ticket-info

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get Jira ticket details from my current branch name?

To retrieve Jira ticket details from your branch name, the Skill locates the ticket number embedded in the branch and fetches its description using the Atlassian CLI. This provides immediate context for the work associated with that branch.

What happens if there is no Jira ticket number in my branch name?

If no Jira ticket number is detected in the current branch name, the operation is canceled. The Skill relies on finding a valid ticket identifier in the branch to proceed with fetching workitem details.

Do I need the Atlassian CLI to fetch Jira workitem descriptions?

Yes, you need the Atlassian CLI (acli) installed and Jira access configured. The Skill executes the command acli jira workitem view to retrieve the ticket description for planning and collaboration context.

How does retrieving a Jira ticket description help with branch planning?

Retrieving the Jira ticket description provides direct context for branch planning. By fetching the workitem details, you can use the ticket's requirements to guide task execution and inform team collaboration on that specific branch.

Can I use this to fetch ticket info for any Jira branch?

You can fetch ticket info for any branch that contains a Jira ticket number in its name. The Skill parses the current branch name to identify the ticket, then uses acli to retrieve the workitem description for that branch.