一键导入
jira-bug
// 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.
// 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.
Resolve a single Liferay test failure end-to-end.
Create a Jira task in the LPD project through the REST API. Use when the user asks to create a Jira task or LPD task ticket.
Check that a PR is ready to be sent for review.
Format source files to align with Liferay's coding standards.
Create a GitHub PR for the current branch. Use when the user asks to create a PR, send a PR, or invokes /pr.
Start work on a Jira ticket.
| allowed-tools | Bash(curl *), Bash(git *), Glob, Grep, Read |
| argument-hint | [commit hash or description] |
| 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. |
| name | jira-bug |
Create a bug ticket in the LPD Jira project through the REST API.
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.
Request any missing details from the user:
The LPD project requires the following fields. Apply these defaults unless the user specifies otherwise:
Master (ID: 16660).Content Publishing > Resource Importer (ID: 15805)Data Integration > Export/Import (ID: 16131)Headless Batch Engine API (ID: 16022)customfield_10979): None (ID: 14468).When no listed component matches, fetch the LPD project components and pick the one whose name matches the keyword.
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.
The ticket key and the browse URL: https://liferay.atlassian.net/browse/<KEY>.