OpenParable
Skip to content
← Back to skills

Jira Bug

Apps & Automation
jira-bug

Jira Bug is an Agent Skill for apps & automation published in the liferay/liferay-portal repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Create a Jira bug ticket in the LPD project through the REST API. Use when the user asks to create or file a Jira bug or LPD ticket.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/liferay/liferay-portal/blob/HEAD/.claude/skills/jira-bug/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/jira-bug, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Create a Jira Bug in LPD

Create a bug ticket in the LPD Jira project through the REST API.

Input

When ${ARGUMENTS} is a commit hash, inspect the commit with git show to understand the fix and infer the bug it addresses. When ${ARGUMENTS} is a free-form description, use it directly.

Gather Information

Request any missing details from the user:

  • Summary — short title describing the bug.
  • Steps to Reproduce — clear, minimal steps.
  • Expected Behavior — what should have happened.
  • Actual Behavior — what happened instead.

Required Fields

The LPD project requires the following fields. Apply these defaults unless the user specifies otherwise:

  • Affects Version: Master (ID: 16660).
  • Component: Infer from the code area. Fetch the LPD project components and select the one whose name matches the relevant area or keyword.
  • Cross Cutting Properties (customfield_10979): None (ID: 14468).

Create the Ticket

Create the issue in the LPD project with the gathered summary, description, and required fields. Author the description in Atlassian Document Format (ADF) with the following sections, in order: Description, Steps to Reproduce, Expected Behavior, Actual Behavior. Append a Fix section when a commit is referenced.

Output

The ticket key and the browse URL: https://liferay.atlassian.net/browse/<KEY>.