The Jira Delete Issue action is used to delete an issue (task, bug, story, etc.) previously created in Jira projects. This action can only be performed by users with delete permissions on the relevant project. It is particularly preferred for removing unnecessary, incorrectly opened, or test-purpose issues.
Technical Specifications
Issue Deletion Process (Delete Panel): Deletes the Jira issue specified by the issue_key parameter and does not return any information about the deleted issue (only successful/unsuccessful information).
Parameters:
settings (Object – required): Settings required for the Jira API connection. The Jira connection defined via Config Manager must be selected.
issue_key (String – required): The key of the issue to be deleted in Jira. (e.g., DEV-123)
Data Source Compatibility: Parameters can be entered as fixed values or obtained from dynamic sources such as Form Input, Current, Action Result, Method Input via the Symbol Picker.
Web & Mobile Support: The Jira Delete Issue action can be used in both web and mobile applications.
Jira Delete Issue Application Steps
1. Defining the Action in UI Design
Open your Kuika project.
In the UI Design module, select the screen where the issue deletion process will take place.
Add a Button element (e.g., “Delete Issue”).
Click on the button and select the + ADD ACTION → Jira → Jira Delete Issue action.
2. Configuring Parameters
settings: Select the Jira API setting you created in Configuration Manager.
issue_key: Enter the issue key selected by the user or determined by the system (e.g., QA-45).
Use Case: Deleting Unnecessary Issues
In a project management application, a user wants to delete an issue they opened by mistake.
Steps:
Allow the user to select from the issue list.
Add a “Delete” button.
Define the OnClick → Jira Delete Issue action.
Link the issue_key parameter to the selected issue.
After the deletion, show the user the message “Issue successfully deleted.”
Jira Delete Issue Advanced Customizations
Conditional Deletion: For example, only issues in the “To Do” status can be deleted.
Confirmation Dialog: Before deletion, the user can be shown a confirmation asking, “Are you sure you want to delete this issue?”
Use of Result: After deletion, the project dashboard can be updated or the list can be reloaded.
Technical Risks and Controls
issue_key must not be empty. Otherwise, the deletion process cannot be performed.
settings must be configured correctly. If the Jira API setting is not configured in Configuration Manager, the action will not work.
Authorization controls: If the user does not have permission to delete issues in the relevant project, the process will fail.
Irreversible process: Deleted issues cannot be restored, so this process should be used with caution.