How to update a system field for Jira issue using CLI

This article is about system fields. If you’re looking to update custom fields, please refer to this instead: which uses the action updateCustomFieldOptions.

This article provides guidelines on updating the system field options using the Jira Command Line Interface (JCLI).


To update a system field using JCLI, you can use direct parameters. The available parameters can be found under Optional Parameters here:

  1. Use the action updateIssue.

    --action updateIssue --issue "ZJIRACLI-4" --components "auto1"
  2. Make use of the direct parameters to update:

Potential problem:

If you face the error: is not defined or not valid in this context the most probable cause is: the field is NOT on the edit screen.

Being on create screen is not enough, be sure to add the field to the edit screen. After that step, the error will disappear, and the command will succeed.


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.