Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to remove labels in bulk for the issues in Jira by using from Jira issues with Jira Command Line Interface (CLI).

Instructions

  1. Form a JQL query to find the target issue where from which labels need are to be removed. Please refer Refer to the following sample JQL provided below for reference:

    Code Block
    themeMidnight
    project = ABC AND issuetype = Bug


  2. Combine runFromIssueList and removeLabels to remove the labels for the target issues. This example works because runFromIssueList have has the jql parameters parameter and removeLabels have has issue and labels parameters.

    Code Block
    themeMidnight
    --action runFromIssueList --jql "project = ABC AND issuetype = Bug" --common "--action removeLabels --issue @issue@ --labels "@all" "


Info

...

  • to suppress

...

  • notifications for users. 

...

info
  • It is recommended to test this scenario in a non-production environment, or, run the action with the --simulate parameter to verify the behavior before implementing it in production.