/
Set field value for issues in bulk using Jira Command Line Interface (CLI) in Jira

Set field value for issues in bulk using Jira Command Line Interface (CLI) in Jira

This article explains how to set field value for issues in bulk using Jira Command Line Interface (CLI) in Jira.

Instructions

  1. Form a JQL query to find the target issue where field value needs to be added. Please refer below sample JQL for reference:

    project = ABC AND issuetype = Bug
  2. Combine runFromIssueList and setFieldValue to set the field value for the target issues. This example works because runFromIssueList have --jql parameters and setFieldValue have --issue, --field and --value parameters.

    --action runFromIssueList --jql "project = ABC AND issuetype = Bug" --common "--action setFieldValue --issue @issue@ --field "App" --value "CLI""

    Additionally the --suppressNotify parameter can be used, to suppress the notifications for users.


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.

Related content