How to set a custom field value while creating a request in Jira Service Desk cloud

This article explains how to set a custom field value while creating a request in Jira service desk cloud using Jira Command Line Interface.


Run the following action command to create a request and set custom field value while creating a request in the Jira service desk project:

--action createRequest --project TEST --type Askaquestion --summary "Internet Explorer" --description "Testdesc"  --field customfield_10037=Major

In this command, TEST is the project key, Askaquestion is the request type and customfield_10037 is the custom field ID for which the value should be set as Major.

For the mentioned sample command the following actions and parameters are used:

  • createRequest - Creates a request in the service desk project.
  • project - Service desk project name, key, or id.
  • type - Request type name or id.
  • summary - Summary of the request.
  • description - Description of the request.
  • fieldTo set client and construct specific fields or variables using name=value syntax.

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.