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.
Instructions:
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.
- field - To set client and construct specific fields or variables using name=value syntax.
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.