---
title: "How to delete specific issue links in bulk using Jira CLI"
canonical: "https://support.appfire.com/space/SUPPORT/89131542/How%20to%20delete%20specific%20issue%20links%20in%20bulk%20using%20Jira%20CLI"
format: markdown
---
This article explains how to delete specific issue links from specific Jira issues in bulk using Command Line Interface (CLI). For example, if you would like to delete only specific issues and specific link type issues like blocks, duplicate etc., you can use *deleteLink* action along with the *runFromCSV* action to accomplish this task.  

### Instructions  
  
To delete specific issues links:

1. Create a csv file with the column names issue, toissue and link, as shown below. The file contains specific issues and specific links only
2. Use the *<span style="color: #0000ff">deleteLink</span>* action with the parameters, issue, toIssue, link parameters where:
  - **issue:** Issue key(s) of the original issue(s).
  - **toissue:** Issue <span style="color: #172b4d">key(s) of the linked issue(s).</span>
  - **link:** Type of links.
3. Use the following CLI command to delete the links for the specified issues mentioned in the file.
  - For example, the issue, ZCLI-1 contains 2 links.  
> Macro (inline-media-image)
  - As per the link.csv file, the cli action deletes the link TEST-2 from the issue, ZCLI-1, as shown in the screenshot below:

### To delete issue links in bulk:

Use the <span style="color: #0000ff">runFromLinkList</span> action when it is required to perform operations in bulk. When you want to delete the issue links with issue link type, "blocks", then please refer [this article](https://bobswift.atlassian.net/wiki/spaces/SUPPORTS/pages/1190397033/How+to+use+the+runFromLinkList+action+in+CLI) on How to use the runFromLinkList action in CLI.

> ℹ️ <span style="color: #000000">It is recommended to test this scenario in a test environment before implementing it in production. </span>