---
name: Jira Bug Creation
slug: jira-bug-creator
category: Automation
description: 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.
github: "https://github.com/liferay/liferay-portal/tree/master/.claude/skills/jira-bug"
language: Java
stars: 2260
forks: 3789
install: "git clone https://github.com/liferay/liferay-portal"
added: 2026-07-20T06:48:16.758Z
last_synced: 2026-07-29T06:36:52.963Z
canonical_url: "https://dirskills.com/skills/jira-bug-creator"
---

# Jira Bug Creation

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.

**Install:** `git clone https://github.com/liferay/liferay-portal`

## README

# 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>`.
