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.



Find answers from the community.

Ask a question to the community.

Log a request with our support team.


Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2022 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.