Create a new Jira issue from the current context or description
Create a new Jira issue based on the provided context. Follow these steps:
Gather Context: Use the provided arguments ($ARGUMENTS) to understand what issue needs to be created. If the context is unclear, ask for clarification.
Get Atlassian Resources: Use getAccessibleAtlassianResources to get the cloud ID for the Jira instance.
Find the Project: Use getVisibleJiraProjects to list available projects. If the user hasn't specified a project, ask them to select one.
Get Issue Types: Use getJiraProjectIssueTypesMetadata to get available issue types for the selected project.
Prepare Issue Details:
Create the Issue: Use createJiraIssue with:
cloudId: From step 2projectKey: From selected projectissueTypeName: Appropriate typesummary: Concise titledescription: Detailed description in MarkdownReport Success: Display the created issue key and URL to the user.